add a minimal example of a remote workload using speedometer as a package #459
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is copying the minimal set of changes from #456 necessary to wire up a trivial workload (followup from discussion in this thread: https://github.com/WebKit/Speedometer/pull/456/files#r1852664786)
The speedometer package is installed via
and then the workload consumes a single file from it
import { ... } from "speedometer/resources/workload-testing-utils.mjs"
. Then when younpm run build
it's able to do manage all of the necessary imports within speedometer itself to share code without needing to copy/paste into the files from the runner.We may want to first land something like this, and then follow up with a smaller change for the Next integration, if there are additional complications with that.