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

Example of running benchmarks in a browser #194

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ebrelsford
Copy link
Collaborator

I'm not sure if we want to include this (or this approach) but this was my initial take on running benchmarks in the browser. This PR:

  • Adds a new benchmarks file geared toward the browser (fetch rather than fs)
  • Adds a rollup config to build the bundle needed
  • Loads benchmarks.js globally instead of bundling it (see this issue, it doesn't get bundled correctly)

@ebrelsford
Copy link
Collaborator Author

@springmeyer here is this PR in case it's useful.

@springmeyer
Copy link
Collaborator

Thanks! I'll take it for a spin soon and confirm it works for me.

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.

None yet

2 participants