Kouhei Sutou
null+****@clear*****
Sun Aug 10 16:31:58 JST 2014
Kouhei Sutou 2014-08-10 16:31:58 +0900 (Sun, 10 Aug 2014) New Revision: 6b85570cc519b1056ef179bb0a13821f6edfc282 https://github.com/groonga/groonga/commit/6b85570cc519b1056ef179bb0a13821f6edfc282 Message: benchmark: add results for optimized build Modified files: benchmark/bench-ctx-create.c benchmark/bench-query-optimizer.c Modified: benchmark/bench-ctx-create.c (+10 -0) =================================================================== --- benchmark/bench-ctx-create.c 2014-08-10 15:40:23 +0900 (d23fae8) +++ benchmark/bench-ctx-create.c 2014-08-10 16:31:58 +0900 (3e43519) @@ -26,6 +26,16 @@ without mruby1: 28KB (0.0240ms) with mruby2: 0KB (0.0097s) without mruby2: 0KB (0.0220ms) + + Groonga: c4379140c02699e3c74b94cd9e7b88d372202aa5 + CFLAGS: -O2 -g + % make --quiet -C benchmark run-bench-ctx-create + run-bench-ctx-create: + (time) + with mruby1: 524KB (0.0041s) + without mruby1: 32KB (0.0220ms) + with mruby2: 0KB (0.0040s) + without mruby2: 0KB (0.0200ms) */ #include <stdlib.h> Modified: benchmark/bench-query-optimizer.c (+11 -0) =================================================================== --- benchmark/bench-query-optimizer.c 2014-08-10 15:40:23 +0900 (3671b9c) +++ benchmark/bench-query-optimizer.c 2014-08-10 16:31:58 +0900 (d7ed91d) @@ -18,6 +18,7 @@ /* Groonga: c4379140c02699e3c74b94cd9e7b88d372202aa5 + CFLAGS: -O0 -g3 % make --quiet -C benchmark run-bench-query-optimizer run-bench-query-optimizer: @@ -27,6 +28,16 @@ 1 condition: without mruby: (0.0216s) 4 conditions: with mruby: (0.0864s) 4 conditions: without mruby: (0.0271s) + + CFLAGS: -O2 -g + % make --quiet -C benchmark run-bench-query-optimizer + run-bench-query-optimizer: + Process 100 times in each pattern + (time) + 1 condition: with mruby: (0.0243s) + 1 condition: without mruby: (0.0159s) + 4 conditions: with mruby: (0.0452s) + 4 conditions: without mruby: (0.0188s) */ #include <stdlib.h> -------------- next part -------------- HTML����������������������������...Télécharger