Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

timecraft: use wazero compilation cache #38

Merged
merged 4 commits into from
May 31, 2023
Merged

Conversation

achille-roussel
Copy link
Contributor

This PR adds support for using the wazero compilation cache in order to speed up the tests.

We get almost twice the throughput with this change:

$ go test -count 10
PASS
ok  	github.com/stealthrocket/timecraft	7.729s
$ go test -count 10
PASS
ok  	github.com/stealthrocket/timecraft	4.327s

@achille-roussel achille-roussel merged commit de8d5ff into main May 31, 2023
3 checks passed
@achille-roussel achille-roussel deleted the wazero-cache branch May 31, 2023 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants