js-temporal / temporal-polyfill

Polyfill for Temporal (under construction)
ISC License
530 stars 28 forks source link

Use V8 Snapshots in Test262 (once available in Node) #166

Closed 12wrigja closed 1 year ago

12wrigja commented 2 years ago

Tracking bug for using V8 Snapshots in NodeJS: https://github.com/nodejs/node/issues/35711

This would allow us to load the Temporal API surface into NodeJS once, take a snapshot of that state, and then re-use that snapshot when launching a test262 test to hopefully speed up test execution.

12wrigja commented 2 years ago

This might be feasible now: https://nodejs.org/en/blog/release/v18.8.0/

12wrigja commented 1 year ago

Not exactly using V8 snapshots, but a better solution for test262 was landed in https://github.com/js-temporal/temporal-polyfill/pull/204.