[Xorp-cvs] XORP cvs commit: xorp/policy/backend
Andrea Bittau
abittau at icir.org
Wed Aug 6 01:10:43 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-08-06 08:10:43 UTC
XORP CVS repository
Modified files:
policy/backend iv_exec.cc iv_exec.hh policy_filter.cc
Log message:
more tracing lamenesses: do not create / destroy an ostringstream on each filter
run.
was
[98% shorty test]# ./policybench -p base -v base.var
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 602 (ms) iterations 100000
Iterations/s 166112.957
Instr 1 Avg Time 183.673 ( 4.83%)
Instr 2 Avg Time 266.018 ( 6.99%)
Instr 3 Avg Time 608.867 (16.00%)
Instr 4 Avg Time 269.302 ( 7.07%)
Instr 5 Avg Time 246.229 ( 6.47%)
Instr 6 Avg Time 212.933 ( 5.59%)
Instr 7 Avg Time 1213.220 (31.87%)
Instr 8 Avg Time 298.267 ( 7.84%)
Instr 9 Avg Time 213.561 ( 5.61%)
Instr 10 Avg Time 294.327 ( 7.73%)
[98% shorty test]#
now
[93% 03:00 shorty test]# ./policybench -p base -v base.var
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 500 (ms) iterations 100000
Iterations/s 200000.000
Instr 1 Avg Time 179.183 ( 4.83%)
Instr 2 Avg Time 262.700 ( 7.08%)
Instr 3 Avg Time 551.736 (14.88%)
Instr 4 Avg Time 274.168 ( 7.39%)
Instr 5 Avg Time 250.884 ( 6.77%)
Instr 6 Avg Time 211.912 ( 5.71%)
Instr 7 Avg Time 1173.063 (31.63%)
Instr 8 Avg Time 297.826 ( 8.03%)
Instr 9 Avg Time 212.915 ( 5.74%)
Instr 10 Avg Time 293.965 ( 7.93%)
[93% 02:58 shorty test]#
+20% speedup.
Revision Changes Path
1.23 +28 -20; commitid: 840148995c8141a7; xorp/policy/backend/iv_exec.cc
1.15 +5 -3; commitid: 840148995c8141a7; xorp/policy/backend/iv_exec.hh
1.17 +6 -5; commitid: 840148995c8141a7; xorp/policy/backend/policy_filter.cc
More information about the Xorp-cvs
mailing list