• 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
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...