Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Benchmarks #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

WIP: Benchmarks #29

wants to merge 5 commits into from

Conversation

slowli
Copy link
Contributor

@slowli slowli commented Nov 27, 2017

This PR adds a pwbox benchmarking script for Node and an HTML page for benchmarking in browsers. On my PC, benchmark yield pwbox latency of about 80 ms in Node and 130 ms in browsers:

pwbox-bench

As expected, the size of the message plays almost no role on performance. Curiously enough, it seems that on Node 4, performance of the tweetnacl implementation falls ~10x after a couple of bench tests. Probably, has something to do with the shipped V8.

Related to #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant