Hash Benchmark for mruby

GitHub

Environment

Benchmark Code

Implementation

Baselinegithub:mruby/mruby@8455344
Newgithub:shuujii/mruby@f2d8db3

Platform

OS

NameLinux
Release5.4.0-48-generic
Version#52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020

Hardware

CPU 0
vendor_idGenuineIntel
cpu family6
model61
model nameIntel(R) Core(TM) i5-5257U CPU @ 2.70GHz
stepping4
cpu MHz2699.998
cache size3072 KB
physical id0
siblings2
core id0
cpu cores2
apicid0
initial apicid0
fpuyes
fpu_exceptionyes
cpuid level20
wpyes
flagsfpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed
bugscpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips5399.99
clflush size64
cache_alignment64
address sizes39 bits physical, 48 bits virtual
power management
CPU 1
vendor_idGenuineIntel
cpu family6
model61
model nameIntel(R) Core(TM) i5-5257U CPU @ 2.70GHz
stepping4
cpu MHz2699.998
cache size3072 KB
physical id0
siblings2
core id1
cpu cores2
apicid1
initial apicid1
fpuyes
fpu_exceptionyes
cpuid level20
wpyes
flagsfpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed
bugscpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips5399.99
clflush size64
cache_alignment64
address sizes39 bits physical, 48 bits virtual
power management
Memory
MemTotal1004628 kB

Compiler

gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Type Size

Baseline
TypeSize (byte)
64-bit
Word-boxing
64-bit
NaN-boxing
64-bit
No-boxing
32-bit
Word-boxing
32-bit
No-boxing
void*88844
mrb_value8816412
mrb_int84844
New
TypeSize (byte)
64-bit
Word-boxing
64-bit
NaN-boxing
64-bit
No-boxing
32-bit
Word-boxing
32-bit
No-boxing
void*88844
mrb_value8816412
mrb_int84844