mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-22 12:27:29 +01:00
331925356e
* WIP compare script * WIP * fix * add script * update * fix * tweak * fix * update * add TODO * compare * tmp * gah * revert * fix * fix * prevent div/0 * reenable benchmarks --------- Co-authored-by: Dominic Gannaway <dg@domgan.com>
25 lines
978 B
JavaScript
25 lines
978 B
JavaScript
import { kairo_avoidable } from './benchmarks/kairo/kairo_avoidable.js';
|
|
import { kairo_broad } from './benchmarks/kairo/kairo_broad.js';
|
|
import { kairo_deep } from './benchmarks/kairo/kairo_deep.js';
|
|
import { kairo_diamond } from './benchmarks/kairo/kairo_diamond.js';
|
|
import { kairo_mux } from './benchmarks/kairo/kairo_mux.js';
|
|
import { kairo_repeated } from './benchmarks/kairo/kairo_repeated.js';
|
|
import { kairo_triangle } from './benchmarks/kairo/kairo_triangle.js';
|
|
import { kairo_unstable } from './benchmarks/kairo/kairo_unstable.js';
|
|
import { mol_bench } from './benchmarks/mol_bench.js';
|
|
|
|
// This benchmark has been adapted from the js-reactivity-benchmark (https://github.com/milomg/js-reactivity-benchmark)
|
|
// Not all tests are the same, and many parts have been tweaked to capture different data.
|
|
|
|
export const benchmarks = [
|
|
kairo_avoidable,
|
|
kairo_broad,
|
|
kairo_deep,
|
|
kairo_diamond,
|
|
kairo_triangle,
|
|
kairo_mux,
|
|
kairo_repeated,
|
|
kairo_unstable,
|
|
mol_bench
|
|
];
|