Skip to content

Instantly share code, notes, and snippets.

@jll63
Created September 1, 2022 18:36
Show Gist options
  • Save jll63/325b3710649077cf49d20c041b0c1a74 to your computer and use it in GitHub Desktop.
Save jll63/325b3710649077cf49d20c041b0c1a74 to your computer and use it in GitHub Desktop.

50 hierarchies, 1000 objects each
Compiler: clang 12.0.1 (release)
Load average: 1.93, 3.07, 2.32
Run on (8 X 2112 MHZ CPUs)
CPU caches:
  L1 Data 32768 KiB (x2)
  L1 Instruction 32768 KiB (x2)
  L2 Unified 262144 KiB (x2)
  L3 Unified 8388608 KiB (x8)

virtual arity 1, direct base

dispatch policy time (ns) d(v)%
virtual 70.8
method hash_factors_in_globals 71.4 0.8
method hash_factors_in_method 85.3 20.4

virtual arity 1, virtual base

dispatch policy time (ns) d(v)%
virtual 82.8
method hash_factors_in_globals 143.2 73.0
method hash_factors_in_method 147.5 78.3

virtual arity 2, direct base

dispatch policy time (ns) d(v)%
virtual 87.8
method hash_factors_in_globals 110.0 25.3
method hash_factors_in_method 134.5 53.2

virtual arity 2, virtual base

dispatch policy time (ns) d(v)%
virtual 100.9
method hash_factors_in_globals 208.1 106.1
method hash_factors_in_method 210.9 108.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment