blob: be6eb7bbabf1c88421a5e5c403a112d9942ec2df [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script src="resources/worker-structured-clone-different-payloads-perf-test.js"></script>
<script>
WorkerStructuredCloneDifferentPayloadsPerfTestRunner.measureTimeAsync({
description: "Measures performance of worker round-trip with structured clone, for JSON-like data where different payloads are sent back and forth.",
data: JSON.parse(PerfTestRunner.loadFile("resources/data/preact-to-worker.json")),
measure: "roundtrip",
});
</script>
</body>