All Projects → zandaqo → Iswasmfast

zandaqo / Iswasmfast

Licence: mit
Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.

Programming Languages

javascript
184084 projects - #8 most used programming language
cpp
1120 projects

Projects that are alternatives of or similar to Iswasmfast

Vertical Collection
Infinite Scroll and Occlusion at > 60FPS
Stars: ✭ 144 (-3.36%)
Mutual labels:  performance
Wasm Crypto
A WebAssembly (via AssemblyScript) set of cryptographic primitives for building authentication and key exchange protocols.
Stars: ✭ 146 (-2.01%)
Mutual labels:  webassembly
Web Vitals Extension
A Chrome extension to measure essential metrics for a healthy site
Stars: ✭ 1,943 (+1204.03%)
Mutual labels:  performance
Woz
Woz is a progressive WebAssembly app (PWAA) generator for Rust.
Stars: ✭ 145 (-2.68%)
Mutual labels:  webassembly
Assemblyscript
A TypeScript-like language for WebAssembly.
Stars: ✭ 13,152 (+8726.85%)
Mutual labels:  webassembly
React Live Chat Loader
Implement a live chat beacon in your React application without performance regressions.
Stars: ✭ 145 (-2.68%)
Mutual labels:  performance
React Native Lazy Index
RAM bundle friendly, bundle-time generated `index.js`
Stars: ✭ 143 (-4.03%)
Mutual labels:  performance
Rapidcms
RapidCMS is a Blazor framework which allows you to build a responsive and flexible CMS purely from code. It provides a basic set of editors and controls, and is fully customisable.
Stars: ✭ 149 (+0%)
Mutual labels:  webassembly
Rs Asteroids
A variation on the game Asteroids, written in Rust
Stars: ✭ 146 (-2.01%)
Mutual labels:  webassembly
Indigo
Universal cheminformatics libraries, utilities and database search tools
Stars: ✭ 146 (-2.01%)
Mutual labels:  webassembly
Georaptor
Python Geohash Compression Tool
Stars: ✭ 143 (-4.03%)
Mutual labels:  performance
Pinpoint
APM, (Application Performance Management) tool for large-scale distributed systems.
Stars: ✭ 11,883 (+7875.17%)
Mutual labels:  performance
Wah
a slightly higher-level language superset of webassembly
Stars: ✭ 147 (-1.34%)
Mutual labels:  webassembly
Nemetric
前端性能指标的监控,采集以及上报。用于测量第一个dom生成的时间(FP/FCP/LCP)、用户最早可操作时间(fid|tti)和组件的生命周期性能,,网络状况以及资源大小等等。向监控后台报告实际用户测量值。
Stars: ✭ 145 (-2.68%)
Mutual labels:  performance
Libarchivejs
Archive library for browsers
Stars: ✭ 145 (-2.68%)
Mutual labels:  webassembly
Modern Wasm Starter
🛸 Run C++ code on web and create blazingly fast websites! A starter template to easily create WebAssembly packages using type-safe C++ bindings with automatic TypeScript declarations.
Stars: ✭ 140 (-6.04%)
Mutual labels:  webassembly
Is Esm
🌳 CLI tool which checks if a package is distributed in ECMAScript module format. Helps you reason if the package is tree-shakable.
Stars: ✭ 147 (-1.34%)
Mutual labels:  performance
Easyengine
Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL, and Let's Encrypt
Stars: ✭ 1,881 (+1162.42%)
Mutual labels:  performance
Deli
Stars: ✭ 148 (-0.67%)
Mutual labels:  performance
Lagmonitor
Monitor performance of your Minecraft server. Similar to VisualVM and Java Mission Control.
Stars: ✭ 147 (-1.34%)
Mutual labels:  performance

iswasmfast

npm Actions Status

Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.

Read more in JavaScript ♥ C++: Modern Ways to Use C++ in JavaScript Projects

Benchmark

> node benchmark.js

Levenstein Distance:
   Native x 220,074 ops/sec ±10.21% (61 runs sampled)
   N-API Addon x 248,443 ops/sec ±10.34% (60 runs sampled)
   Web Assembly x 172,538 ops/sec ±10.14% (65 runs sampled)
 Fastest is N-API Addon

Fibonacci:
   Native x 4,198,593 ops/sec ±10.09% (62 runs sampled)
   N-API Addon x 4,682,918 ops/sec ±10.37% (63 runs sampled)
   Web Assembly x 7,096,094 ops/sec ±9.21% (77 runs sampled)
 Fastest is Web Assembly

Fermat Primality Test:
   Native x 1,226,967 ops/sec ±8.15% (83 runs sampled)
   N-API Addon x 1,510,370 ops/sec ±8.03% (81 runs sampled)
   Web Assembly x 1,836,486 ops/sec ±9.52% (71 runs sampled)
 Fastest is Web Assembly

Simple Linear Regression:
   Native x 190,596 ops/sec ±8.62% (68 runs sampled)
   N-API Addon x 2,652 ops/sec ±7.40% (59 runs sampled)
   N-API Addon using TypedArrays x 72,366 ops/sec ±10.17% (62 runs sampled)
   Web Assembly x 36,454 ops/sec ±10.55% (61 runs sampled)
   Web Assembly using TypedArrays x 34,243 ops/sec ±9.27% (55 runs sampled)
 Fastest is Native

SHA256:
   Native x 9,597 ops/sec ±19.04% (56 runs sampled)
   N-API Addon x 56,135 ops/sec ±10.13% (61 runs sampled)
   Web Assembly x 27,468 ops/sec ±9.05% (54 runs sampled)
 Fastest is N-API Addon

Installation

Please note that this module requires Node.js 8.6 and above. If you want to rebuild the WebAssembly module yourself, you'll also need the latest Emscripten SDK installed on your machine.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].