Skip to content

Commit

Permalink
Load test results in parallel.
Browse files Browse the repository at this point in the history
  • Loading branch information
mput committed Mar 25, 2024
1 parent 2731cb1 commit 361fbf1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test_report/src/Impls.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@
export let impls = implementations;
onMount(async function () {
for (const impl of implementations) {
Promise.all(implementations.map(async (impl, idx) => {
if (impl.testResultsUrl){
let res = await load(impl.testResultsUrl);
impl.results = res;
impls[idx].results = res;
}
}
impls = implementations;
}))
});
</script>
Expand Down

0 comments on commit 361fbf1

Please sign in to comment.