[Xorp-cvs] XORP cvs commit: xorp/policy/test
Andrea Bittau
abittau at icir.org
Wed Aug 6 01:11:59 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-08-06 08:11:59 UTC
XORP CVS repository
Modified files:
policy/test policybench.cc
Log message:
Fix "bug" in benchmark. Retrieve modified routes so that they aren't deleted,
causing an artifical delay. 35% improvement.
before:
[100% shorty test]# ./policybench -p base -t 1
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 2933 (ms) iterations 100000
Iterations/s 34094.783
Instr 1 Avg Time 242.649 ( 3.58%)
Instr 2 Avg Time 856.252 (12.62%)
Instr 3 Avg Time 855.395 (12.61%)
Instr 4 Avg Time 385.353 ( 5.68%)
Instr 5 Avg Time 431.344 ( 6.36%)
Instr 6 Avg Time 211.495 ( 3.12%)
Instr 7 Avg Time 2930.962 (43.19%)
Instr 8 Avg Time 403.569 ( 5.95%)
Instr 9 Avg Time 211.391 ( 3.12%)
Instr 10 Avg Time 257.508 ( 3.79%)
now:
[100% shorty test]# ./policybench -p base -v base.var -t 1
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 2178 (ms) iterations 100000
Iterations/s 45913.682
Instr 1 Avg Time 264.769 ( 3.94%)
Instr 2 Avg Time 780.156 (11.62%)
Instr 3 Avg Time 826.072 (12.30%)
Instr 4 Avg Time 369.035 ( 5.50%)
Instr 5 Avg Time 594.807 ( 8.86%)
Instr 6 Avg Time 216.092 ( 3.22%)
Instr 7 Avg Time 2803.071 (41.74%)
Instr 8 Avg Time 387.168 ( 5.77%)
Instr 9 Avg Time 216.384 ( 3.22%)
Instr 10 Avg Time 257.371 ( 3.83%)
[100% shorty test]#
Revision Changes Path
1.6 +20 -5; commitid: 84fb48995ccd41a7; xorp/policy/test/policybench.cc
More information about the Xorp-cvs
mailing list