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

Implement end2end tests #11

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

camillobruni
Copy link
Contributor

@camillobruni camillobruni commented Nov 26, 2024

  • Copy over package.json from Speedometer3
  • Implement npm test:chrome, npm test:firefox, npm test:safari
  • Add better support for custom worstCaseCount and iterationCount to lower test duration
  • Pass along iterations to Benchmark.validate to fix unipoker expectations
    • Add JetStreamReady and JetStreamDone events to the Driver for easier testing

const file = await prepareFile(req.url);
const statusCode = file.found ? 200 : 404;
const mimeType = MIME_TYPES[file.ext] || MIME_TYPES.default;
res.writeHead(statusCode, { "Content-Type": mimeType });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need to add 'Cross-Origin-Embedder-Policy', 'require-corp' and 'Cross-Origin-Opener-Policy', 'same-origin' for the SharedArrayBuffer benchmarks now.

Comment on lines +62 to +63


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: extra new lines.

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.

2 participants