• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

WebAssembly Fibonacci benchmarking

Joined
Jul 15, 2022
Messages
780 (1.11/day)
Capture d’écran du 2023-05-24 21-34-16.png

I score 350.7 ms

I use the following hardware: Intel i3-3240 + 8GB RAM @1600MHz DDR3 dual-channel + NVIDIA GTX 650 1GB + EVO 850 500GB
I use Epiphany browser 44.2 (WebKit version 605.1) + NixOS + Cinnamon as software.

You can take the test on this page. https://takahirox.github.io/WebAssembly-benchmark/tests/fib.html

When you post, please include your specific hardware and software.
 
Joined
Apr 13, 2017
Messages
116 (0.04/day)
System Name AMD System
Processor Ryzen 7900 at 180Watts 5650 MHz, vdroop from 1.37V to 1.24V
Motherboard MSI MAG x670 Tomahawk Wifi
Cooling AIO240 for CPU, Wraith Prism's Fan for RAM but suspended above it without touching anything in case.
Memory 32GB dual channel Gskill DDR6000CL30 tuned for CL28, at 1.42Volts
Video Card(s) Msi Ventus 2x Rtx 4070 and Gigabyte Gaming Oc Rtx 4060 ti
Storage Samsung Evo 970
Display(s) Old 1080p 60FPS Samsung
Case Normal atx
Audio Device(s) Dunno
Power Supply 1200Watts
Mouse wireless & quiet
Keyboard wireless & quiet
VR HMD No
Software Windows 11
Benchmark Scores 1750 points in cinebench 2024 42k 43k gpu cpu points in timespy 50+ teraflops total compute power.
Result (average [ms])
JavaScript: 401.8000
WebAssembly: 178.7900
JavaScript/WebAssembly: 2.2473

CPU = Ryzen 7900 5.4 GHz
Browser = Edge
RAM = 4800 MHz 64 GB 2xChannels DDR5 CL40
 
Joined
Jan 5, 2006
Messages
18,151 (2.69/day)
System Name AlderLake / Laptop
Processor Intel i7 12700K P-Cores @ 5Ghz / Intel i3 7100U
Motherboard Gigabyte Z690 Aorus Master / HP 83A3 (U3E1)
Cooling Noctua NH-U12A 2 fans + Thermal Grizzly Kryonaut Extreme + 5 case fans / Fan
Memory 32GB DDR5 Corsair Dominator Platinum RGB 6000MT/s CL36 / 8GB DDR4 HyperX CL13
Video Card(s) MSI RTX 2070 Super Gaming X Trio / Intel HD620
Storage Samsung 980 Pro 1TB + 970 Evo 500GB + 850 Pro 512GB + 860 Evo 1TB x2 / Samsung 256GB M.2 SSD
Display(s) 23.8" Dell S2417DG 165Hz G-Sync 1440p / 14" 1080p IPS Glossy
Case Be quiet! Silent Base 600 - Window / HP Pavilion
Audio Device(s) Panasonic SA-PMX94 / Realtek onboard + B&O speaker system / Harman Kardon Go + Play / Logitech G533
Power Supply Seasonic Focus Plus Gold 750W / Powerbrick
Mouse Logitech MX Anywhere 2 Laser wireless / Logitech M330 wireless
Keyboard RAPOO E9270P Black 5GHz wireless / HP backlit
Software Windows 11 / Windows 10
Benchmark Scores Cinebench R23 (Single Core) 1936 @ stock Cinebench R23 (Multi Core) 23006 @ stock
How well does this work with NoScript...
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)
How well does this work with NoScript...
The NoScript browser extension allows JavaScript and other potentially harmful content to be executed only by trusted web sites of your choice (e.g. your online bank).
You can enable JavaScript and other dynamic capabilities for sites you trust with a simple click.

I have uploaded the source code of this web page here: https://pastebin.com/82rni7mB
As you can see it does not contain any suspicious code.

In Brave and most other browsers, you can press ctrl + u to view the source code of the page.
This is the HTML code.

To view the JavaScript code, press ctrl+shift+I while on the page.
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)
Joined
Jul 15, 2022
Messages
780 (1.11/day)
Epiphany browser 44.3 (WebKit version 605.1)
Capture d’écran du 2023-06-08 10-13-29.png


The new version scores 1.2 ms better than the previous version in this test and seems to have become narrowly faster in WebAssembly.
 

kacperoo29

New Member
Joined
Sep 26, 2021
Messages
11 (0.01/day)
Didn't realize Firefox was so much slower than Chromium in JS.
Linux 6.3.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 05 Jun 2023 15:12:42 +0000 x86_64 GNU/Linux
R9 5900X with 32GB@3600MHz RAM
Screenshot from 2023-06-08 11-00-16.png
 

Attachments

  • Screenshot from 2023-06-08 11-01-54.png
    Screenshot from 2023-06-08 11-01-54.png
    470.5 KB · Views: 35
Joined
Jul 15, 2022
Messages
780 (1.11/day)
Didn't realize Firefox was so much slower than Chromium in JS.
It is possible that developers mainly target Chrome and Safari and optimize specifically for these two browsers. You can often achieve a given result in JS with more than 4 different methods, and thus you can achieve the same result with vastly different code. What is optimal for Chrome is not necessarily optimal for Firefox. Suppose everything would be perfectly optimized for Firefox then it could (in theory) be that Firefox is faster in JS than Chrome.

There are benchmarks that seem to show that Firefox can be faster in JS than Chrome:
1. https://testdrive-archive.azurewebsites.net/Performance/RoboHornetPro/Default.html
2. https://www.principledtechnologies.com/benchmarkxprt/webxprt/
3. https://jsbench.me/
4. http://jsben.ch/9DaxR
5. http://jsben.ch/wnaZC
Etc.

You see that (many) popular websites with a lot of JS code often run faster on Firefox than on Chrome:
https://www.reddit.com/r/firefox/comments/11opgpk
 
Joined
Oct 24, 2020
Messages
453 (0.34/day)
Location
Belgium
System Name MSi Coffee Lake
Processor i7-8700k
Motherboard MSI Z370 GAMING PRO CARBON AC
Cooling NZXT something AIO loop
Memory 16GB Kingston HyperX 2133 C14 Fury Black
Video Card(s) TITAN Xp Jedi Order Edition
Storage Samsung 960 Evo NVMe
Display(s) Medion 23'
Case Cooler Master Stryker
Audio Device(s) onboard
Power Supply BeQuiet 600W
Mouse Logitech Trackman T-BB18
Keyboard Generic hp
Software Windows 10
Result (average [ms])
JavaScript: 1569.6000
WebAssembly: 382.7000
JavaScript/WebAssembly: 4.1014

i7-3770 , 2 x 8GB RAM @1600MHz DDR3 , GTX1060
Windows 10 22H2 , Firefox 114
 
Last edited:
Joined
Apr 23, 2005
Messages
59 (0.01/day)
Location
Colombia
Processor Intel® Core™ i9-12900K
Motherboard Z690 GAMING X DDR4
Cooling CM MasterLiquid ML280 Mirror
Memory 32GB Team Group T-Create Xpert @3600Mhz
Video Card(s) Zotac GeForce RTX 3060 Twin Edge OC
Storage TEAM_TM8FP6512G_V1.6.C1/KINGSTON_SA400S361K1/T-FORCE_512GB
Display(s) ASUS VG279Q 144Hz
Case Corsair iCUE 220T RGB Airflow
Audio Device(s) S.M.S.L. Sanskrit MKII V2 DAC + Mackie CR3
Power Supply ROG-STRIX-1000G
Mouse Logitech G502 Hero
Keyboard Sentey Ghost Mechanical Keyboard
Software Windows 11 Pro for Workstations 23H2
i9 12900k + 32gb DDR4 @3600MHz + Chrome version 114.0.5735.110 (Official Build) (64-bit)

1686229061627.png
 
Joined
May 24, 2023
Messages
687 (1.76/day)
Location
127.0.0.1, ::1
System Name Naboo (2019)
Processor AMD 3800x
Motherboard Gigabyte Aorus Master V1 (X470)
Cooling individual EKWB/Heatkiller loop
Memory 4*8 GB 3600 Corsair Vengeance
Video Card(s) Sapphire Pulse 5700XT
Storage SSD 1TB PCIe 4.0x4, 2 TB PCIe 3.0
Display(s) 2*WQHD
Case Lian Li O11 Rog
Audio Device(s) Hifiman, Topping DAC/KHV
Power Supply Seasonic 850W Gold
Mouse Logitech MX2, Logitech MX Ergo Trackball
Keyboard Cherry Stream Wireless, Logitech MX Keys
Software Linux Mint "Vera" Cinnamon
AMD 3800x + 32GB DDR4 @3600MHz + Brave Version 1.52.122 Chromium: 114.0.5735.110 (Offizieller Build) (64-Bit)

fib.jpg
 
Joined
Oct 24, 2020
Messages
453 (0.34/day)
Location
Belgium
System Name MSi Coffee Lake
Processor i7-8700k
Motherboard MSI Z370 GAMING PRO CARBON AC
Cooling NZXT something AIO loop
Memory 16GB Kingston HyperX 2133 C14 Fury Black
Video Card(s) TITAN Xp Jedi Order Edition
Storage Samsung 960 Evo NVMe
Display(s) Medion 23'
Case Cooler Master Stryker
Audio Device(s) onboard
Power Supply BeQuiet 600W
Mouse Logitech Trackman T-BB18
Keyboard Generic hp
Software Windows 10
Result (average [ms])
JavaScript: 1569.6000
WebAssembly: 382.7000
JavaScript/WebAssembly: 4.1014

i7-3770 , 2 x 8GB RAM @1600MHz DDR3 , GTX1060
Windows 10 22H2 , Firefox 114
Out of curiosity I ran it in Windows-Sandbox , which uses Edge , with following results:

Result (average [ms])
JavaScript: 973.5200
WebAssembly: 368.2300
JavaScript/WebAssembly: 2.6438
 
Joined
Jun 9, 2008
Messages
138 (0.02/day)
Location
Türkiye
System Name Revenge of the Strix
Processor Ryzen 5800x3d
Motherboard Asus Strix-e x570
Cooling Corsair H150i pro xt
Memory Crucial Ballistix 32 GB DDR4 3600 MHz CL14
Video Card(s) Red Devil 7900xtx
Storage Adata S50 1tb gen4 - WD Black 1tb gen3 - Seagate2tb SSHD - WD 2tb
Display(s) Dell G3223Q
Case Asus Helios
Audio Device(s) X-fi + Bose Companion 50
Power Supply Seasonic Focus GX 750w
Mouse Asus Pugio II
Keyboard Asus Falchion
Software Windows 11
AMD

brave

Result (average [ms])
JavaScript: 538.1000
WebAssembly: 229.3000
JavaScript/WebAssembly: 2.3467

firefox

Result (average [ms])
JavaScript: 1179.5000
WebAssembly: 203.7000
JavaScript/WebAssembly: 5.7904

INTEL

brave

Result (average [ms])
JavaScript: 484.7000
WebAssembly: 203.9000
JavaScript/WebAssembly: 2.3771

firefox

Result (average [ms])
JavaScript: 1050.7000
WebAssembly: 201.9000
JavaScript/WebAssembly: 5.2041

great! another useless test...
 

Attachments

  • fibonacciAMD.jpg
    fibonacciAMD.jpg
    767.7 KB · Views: 46
  • fibonacciINTEL.jpg
    fibonacciINTEL.jpg
    1.2 MB · Views: 41
Joined
Feb 21, 2008
Messages
105 (0.02/day)
System Name i9-13900k
Processor Intel Core i9 13900K
Motherboard Asus ProArt Z790 Creator WiFi
Cooling Corsair H150i Elite Capellix XT
Memory Corsair Dominator 64gb 5600MT/s DDR5 Dual Channel
Video Card(s) Sapphire Nitro+ RX 7900 XTX
Storage Samsung 980 PRO 1 & 2 TB
Display(s) LG 50" QNED TV 120hz
Case Corsair RGB Smart Case 5000x (white)
Audio Device(s) Fiio K5PRO USB DAC
Power Supply Corsair RM1200x Shift
Mouse Logitech MX Ergo Trackball
Keyboard Logitech K860
Software Windows 11 Pro
Result (average [ms])
JavaScript: 343.8100
WebAssembly: 164.8500
JavaScript/WebAssembly: 2.0856

CPU = Intel i9-13900k
Ram = Corsair 500MT/s 32gb DDR5
Browser = Edge Stable 114.0.1823.43
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)
Capture d’écran du 2023-06-20 08-39-38.png

Nyxt browser - I think it has similar speed to Epiphany because both use WebKitGTK

Capture d’écran du 2023-06-20 19-08-35.png

After updating my system, I noticed that a much newer version of Nyxt was installed. (version 3.1.0)
It seems that Nyxt again became several percent faster in this test.
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)
Screenshot from 2023-07-23 10-28-14.png

I score 348.4 ms

Hardware: Intel i3-3240 + 8GB DDR3 @1600MHz dual-channel + NVIDIA GTX 650 1GB + EVO 850 500GB
Software: Clear Linux + i3-wm + Epiphany 44.4 browser + nouveau open-source GPU driver
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)
2023-08-02-155248_1920x1080_scrot.png

Hardware: AMD R5 PRO 3400G + dual-channel DDR4 @2666MHz + integrated graphics
Software: Void Linux + XFCE + Nyxt browser 3.3.0 + Mesa open-source GPU driver
 
Joined
Feb 1, 2013
Messages
1,249 (0.30/day)
System Name Gentoo64 /w Cold Coffee
Processor 9900K 5.2GHz @1.312v
Motherboard MXI APEX
Cooling Raystorm Pro + 1260mm Super Nova
Memory 2x16GB TridentZ 4000-14-14-28-2T @1.6v
Video Card(s) RTX 4090 LiquidX Barrow 3015MHz @1.1v
Storage 660P 1TB, 860 QVO 2TB
Display(s) LG C1 + Predator XB1 QHD
Case Open Benchtable V2
Audio Device(s) SB X-Fi
Power Supply MSI A1000G
Mouse G502
Keyboard G815
Software Gentoo/Windows 10
Benchmark Scores Always only ever very fast
7800x3d, 6400DDR5, Firefox 116, Win10

Result (average [ms])
JavaScript: 971.0000
WebAssembly: 173.9000
JavaScript/WebAssembly: 5.5837
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)


Result (average [ms])
JavaScript: 243.5000
WebAssembly: 124.1000
JavaScript/WebAssembly: 1.9621

Software: Clear Linux -- Nyxt 3.9.1 -- GNOME Shell -- nouveau GPU driver
Hardware: Intel 12600KF -- Kingston 6000 MHz CL40 -- GTX 650 1GB -- BIOSTAR B760MZ-E PRO -- Antec P6 -- Xilence XP550 -- ARCTIC i35 -- EVO 850 500GB
 
Joined
Jul 15, 2022
Messages
780 (1.11/day)


Result: 124.0000

Hardware: Intel 12600KF (stock) -- Kingston 6200 MHz CL36 -- Sapphire RX 7600 -- BIOSTAR B760MZ-E PRO -- Antec P6 -- Xilence XP550 -- ARCTIC i35 -- 980 PRO 500GB
Software: OpenBSD, bspwm, open-source GPU driver, UFS file system, Epiphany 46

According to top, the total RAM usage of this system (when epiphany is open) is only 471 MB.
This would mean that you could still browse relatively well with this setup even if your system only has 1 GB of RAM.

To be clear, I'm talking specifically about active RAM usage.
 
Top