Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global_const.wat benchmark for upcoming optimization of global.get #532

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

Robbepop
Copy link
Member

No description provided.

@Robbepop Robbepop merged commit abfdb61 into master Oct 23, 2022
@Robbepop Robbepop deleted the rf-add-benchmark-for-opt-globals branch October 23, 2022 13:09
@paritytech-cicd-pr
Copy link

BENCHMARKS

NATIVEWASMTIME
BENCHMARKMASTERPRDIFFMASTERPRDIFFWASMTIME OVERHEAD
execute/
bare_call_0
1.30ms 1.27ms 🟢 -2.34% 1.10ms 1.10ms ⚪ 0.57% 🟢 -13%
execute/
bare_call_0/typed
698.91µs 705.14µs ⚪ 0.85% 548.26µs 541.94µs ⚪ -1.31% 🟢 -23%
execute/
bare_call_1
1.41ms 1.39ms 🟢 -1.26% 1.36ms 1.36ms ⚪ 0.00% 🟢 -2%
execute/
bare_call_16
3.06ms 2.99ms 🟢 -2.95% 5.14ms 5.14ms ⚪ 0.03% 🟡 72%
execute/
bare_call_16/typed
1.32ms 1.32ms ⚪ 0.21% 2.32ms 2.31ms ⚪ -0.57% 🟡 74%
execute/
bare_call_1/typed
801.05µs 803.20µs ⚪ 0.26% 868.87µs 870.93µs ⚪ 0.12% 🟢 8%
execute/
bare_call_4
1.75ms 1.80ms 🔴 2.87% 2.15ms 2.15ms ⚪ -0.04% 🟢 19%
execute/
bare_call_4/typed
890.37µs 897.60µs ⚪ 0.98% 985.63µs 982.80µs ⚪ -0.13% 🟢 9%
execute/
br_table
910.69µs 966.45µs 🔴 6.08% 1.11ms 1.11ms ⚪ -0.45% 🟢 14%
execute/
count_until
904.18µs 904.32µs ⚪ 0.06% 2.27ms 2.27ms ⚪ -0.07% 🔴 151%
execute/
factorial_iterative
365.30µs 365.33µs ⚪ 0.04% 940.93µs 939.65µs ⚪ -0.25% 🔴 157%
execute/
factorial_recursive
730.12µs 719.31µs 🟢 -1.41% 1.51ms 1.52ms ⚪ 0.22% 🔴 111%
execute/
fib_iterative
1.79ms 1.79ms ⚪ -0.04% 4.98ms 4.98ms ⚪ -0.17% 🔴 178%
execute/
fib_recursive
7.05ms 7.06ms ⚪ 0.15% 14.07ms 14.09ms ⚪ 0.15% 🟡 100%
execute/
global_bump
1.36ms 1.36ms ⚪ 0.00% 3.80ms 3.80ms ⚪ 0.04% 🔴 179%
execute/
global_const
1.65ms 1.65ms ⚪ -0.11% 4.33ms 4.24ms 🟢 -2.19% 🔴 157%
execute/
host_calls
33.99µs 32.67µs 🟢 -3.84% 44.07µs 44.09µs ⚪ 0.01% 🟢 35%
execute/
memory_fill
1.55ms 1.56ms ⚪ 0.14% 4.16ms 4.14ms ⚪ -0.50% 🔴 166%
execute/
memory_sum
1.55ms 1.55ms ⚪ -0.08% 4.16ms 4.14ms ⚪ -0.20% 🔴 167%
execute/
memory_vec_add
3.11ms 3.11ms ⚪ -0.10% 8.56ms 8.56ms ⚪ 0.00% 🔴 175%
execute/
recursive_is_even
1.32ms 1.30ms 🟢 -2.48% 2.56ms 2.57ms ⚪ 0.04% 🟡 98%
execute/
recursive_ok
171.10µs 170.66µs ⚪ -0.15% 368.43µs 362.17µs 🟢 -1.69% 🔴 112%
execute/
recursive_scan
226.68µs 214.28µs 🟢 -5.41% 469.40µs 460.81µs 🟢 -1.90% 🔴 115%
execute/
recursive_trap
16.94µs 17.17µs 🔴 1.56% 36.31µs 36.34µs ⚪ 0.00% 🔴 112%
execute/
regex_redux
670.84µs 672.12µs ⚪ 0.01% 1.59ms 1.60ms ⚪ 0.65% 🔴 138%
execute/
rev_complement
594.60µs 588.57µs ⚪ -0.84% 1.54ms 1.55ms ⚪ 0.79% 🔴 163%
execute/
tiny_keccak
461.66µs 457.23µs ⚪ -1.19% 1.36ms 1.36ms ⚪ 0.25% 🔴 198%
execute/
trunc_f2i
1.07ms 1.07ms ⚪ 0.05% 2.58ms 2.82ms 🔴 9.56% 🔴 163%
instantiate/
wasm_kernel
67.46µs 71.22µs ⚪ 4.21% 93.75µs 93.96µs ⚪ 0.47% 🟢 32%
translate/
wasm_kernel
4.20ms 4.21ms ⚪ 0.15% 7.71ms 7.69ms ⚪ -0.25% 🟡 83%

Link to pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants