Samsung / walrus

WebAssembly Lightweight RUntime
Apache License 2.0
35 stars 10 forks source link

Implement interpreterCall function to improve function call performance #143

Closed ksh8281 closed 10 months ago

ksh8281 commented 10 months ago
test ./work/walrus [s] ./origin/walrus [s]
change 3.807 (1.000x) 3.948 (1.037x)
factorial 3.212 (1.000x) 3.679 (1.145x)
fannkuch 2.545 (1.000x) 2.500 (0.983x)
fibonacci 4.683 (1.000x) 5.999 (1.281x)
gregory 3.387 (1.000x) 3.376 (0.997x)
hanoi 4.596 (1.000x) 5.718 (1.244x)
heapsort 3.765 (1.000x) 4.472 (1.188x)
k_nucleotide 3.371 (1.000x) 3.369 (0.999x)
mandelbrot 4.391 (1.000x) 4.383 (0.998x)
nbody 3.728 (1.000x) 3.819 (1.024x)
nqueens 3.824 (1.000x) 4.001 (1.046x)
prime 3.857 (1.000x) 3.867 (1.003x)
quick_sort 3.202 (1.000x) 3.241 (1.012x)
red-black 4.522 (1.000x) 5.044 (1.115x)
salesman 3.675 (1.000x) 3.899 (1.061x)
clover2123 commented 10 months ago

Oops, there are some conflicts in Shell.cpp. Rebase it please

ksh8281 commented 10 months ago

Done!

zherczeg commented 10 months ago

This looks like a great improvement!