-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: main
Are you sure you want to change the base?
Conversation
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 }); |
There was a problem hiding this comment.
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.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: extra new lines.
npm test:chrome
,npm test:firefox
,npm test:safari
worstCaseCount
anditerationCount
to lower test durationiterations
toBenchmark.validate
to fix unipoker expectationsJetStreamReady
andJetStreamDone
events to theDriver
for easier testing