• Michael Lippautz's avatar
    cppgc: Add allocation benchmark · 66fc9431
    Michael Lippautz authored
    Output:
    
    $ out/x64.release/cppgc_allocation_benchmark --benchmark_repetitions=3
    
    Running out/x64.release/cppgc_allocation_benchmark
    Run on (56 X 3500 MHz CPU s)
    CPU Caches:
      L1 Data 32 KiB (x28)
      L1 Instruction 32 KiB (x28)
      L2 Unified 256 KiB (x28)
      L3 Unified 35840 KiB (x2)
    Load Average: 0.23, 0.27, 0.27
    --------------------------------------------------------------------------------
    Benchmark                      Time             CPU   Iterations UserCounters...
    --------------------------------------------------------------------------------
    Allocate/Tiny               17.0 ns         17.0 ns     40348381 bytes_per_second=55.9692M/s
    Allocate/Tiny               17.1 ns         17.1 ns     40348381 bytes_per_second=55.8961M/s
    Allocate/Tiny               17.2 ns         17.2 ns     40348381 bytes_per_second=55.3108M/s
    Allocate/Tiny_mean          17.1 ns         17.1 ns            3 bytes_per_second=55.7254M/s
    Allocate/Tiny_median        17.1 ns         17.1 ns            3 bytes_per_second=55.8961M/s
    Allocate/Tiny_stddev       0.112 ns        0.111 ns            3 bytes_per_second=369.571k/s
    Allocate/Large             40339 ns        40334 ns        17707 bytes_per_second=1.51326G/s
    Allocate/Large             40350 ns        40343 ns        17707 bytes_per_second=1.51292G/s
    Allocate/Large             40205 ns        40192 ns        17707 bytes_per_second=1.51861G/s
    Allocate/Large_mean        40298 ns        40290 ns            3 bytes_per_second=1.51493G/s
    Allocate/Large_median      40339 ns        40334 ns            3 bytes_per_second=1.51326G/s
    Allocate/Large_stddev       81.2 ns         84.7 ns            3 bytes_per_second=3.26614M/s
    
    2020-07-03T09: 14:23+02:00
    Change-Id: I25a55beb5ea1718af76e638b752bf7d67cfe373e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2280086Reviewed-by: 's avatarAnton Bikineev <bikineev@chromium.org>
    Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68672}
    66fc9431
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...