Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nadako/haxe-js-enum-benchmark
https://github.com/nadako/haxe-js-enum-benchmark
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nadako/haxe-js-enum-benchmark
- Owner: nadako
- Created: 2016-04-12T15:14:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T14:44:27.000Z (over 7 years ago)
- Last Synced: 2024-10-25T09:50:01.341Z (3 months ago)
- Language: Haxe
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A benchmark for https://github.com/HaxeFoundation/haxe/issues/5109
```
PS D:\Code\playground> D:\code\node510\node.exe main.js┃ description ┃ ops/sec ┃ error ┃ samples ┃ performance ┃
┃━━━━━━━━━━━━━━━━━━━━━━━━━━┃━━━━━━━━━━━━━┃━━━━━━━━┃━━━━━━━━━┃━━━━━━━━━━━━━┃
┃ array enum construction ┃ 47,063,679 ┃ ±1.50% ┃ 92 ┃ 71% slower ┃
┃ object enum construction ┃ 95,980,481 ┃ ±0.30% ┃ 94 ┃ 40% slower ┃
┃ anon enum construction ┃ 160,541,556 ┃ ±0.31% ┃ 93 ┃ fastest ┃┃ description ┃ ops/sec ┃ error ┃ samples ┃ performance ┃
┃━━━━━━━━━━━━━━━━━━━━━━┃━━━━━━━━━━━━━┃━━━━━━━━┃━━━━━━━━━┃━━━━━━━━━━━━━┃
┃ array enum matching ┃ 169,571,108 ┃ ±0.31% ┃ 91 ┃ 20% slower ┃
┃ object enum matching ┃ 187,410,627 ┃ ±0.28% ┃ 93 ┃ 12% slower ┃
┃ anon enum matching ┃ 212,009,155 ┃ ±0.33% ┃ 95 ┃ fastest ┃
```