Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sirenkovladd
Copy link

Before

┌─────────┬───────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │     Task Name     │   ops/sec   │ Average Time (ns)  │  Margin  │ Samples │
├─────────┼───────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│    0    │ 'parse + compile''38 043'   │ 26285.401617436615 │ '±0.25%' │  38044  │
│    1    │    'to binary''1 682 744' │ 594.2674273496701  │ '±2.04%' │ 1682746 │
│    2    │   'from binary''8 286 549' │ 120.67748344930484 │ '±0.26%' │ 8286550 │
└─────────┴───────────────────┴─────────────┴────────────────────┴──────────┴─────────┘

After

> node ./kiwi.js

kiwi size: 12
┌─────────┬───────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │     Task Name     │   ops/sec   │ Average Time (ns)  │  Margin  │ Samples │
├─────────┼───────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│    0    │ 'parse + compile''53 794'   │  18589.140972425   │ '±0.27%' │  53795  │
│    1    │    'to binary''1 667 012' │ 599.8754268532493  │ '±2.39%' │ 1667013 │
│    2    │   'from binary''8 159 387' │ 122.55822210983995 │ '±0.81%' │ 8159388 │
└─────────┴───────────────────┴─────────────┴────────────────────┴──────────┴─────────┘

41,4% - faster

@sirenkovladd
Copy link
Author

@evanw

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.

1 participant