opencog / benchmark

Benchmarking the AtomSpace, the pattern matcher and other OpenCog systems
GNU Affero General Public License v3.0
6 stars 9 forks source link

Measure same operation each iteration. #26

Closed vsbogd closed 4 years ago

vsbogd commented 4 years ago

New results:

$ ./micro/benchmark --benchmark_filter=BM_VariablesExtend
2019-12-11 11:55:54
Running ./micro/benchmark
Run on (12 X 4000 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x6)
  L1 Instruction 32 KiB (x6)
  L2 Unified 256 KiB (x6)
  L3 Unified 12288 KiB (x1)
Load Average: 0.50, 0.64, 0.74
----------------------------------------------------------------------------------------------
Benchmark                                                    Time             CPU   Iterations
----------------------------------------------------------------------------------------------
BM_VariablesExtend_NewVariable                            86.2 ns         86.2 ns      7735128
BM_VariablesExtend_SameVariableNoTypeRestrictions         91.7 ns         91.7 ns      8010651
BM_VariablesExtend_NewVariableNoTypeRestrictions          91.7 ns         91.7 ns      7973165
BM_VariablesExtend_SameVariableWithTypeRestrictions        221 ns          221 ns      3136600