Skip to content

Commit

Permalink
Rewriting tansu with a signal-first approach (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
divdavem authored Dec 4, 2024
1 parent 59ca0cc commit cf9f6b5
Show file tree
Hide file tree
Showing 21 changed files with 1,826 additions and 1,084 deletions.
3 changes: 1 addition & 2 deletions benchmarks/js-reactivity-benchmarks/dynamic.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@ const perfTests = [
for (const config of perfTests) {
const { graph, counter } = makeGraph(config);

// FIXME: remove .skip when tansu is faster
bench.skip(
bench(
`dynamic ${config.name}`,
() => {
counter.count = 0;
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/jsonArrayReporter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RunnerTestFile } from 'vitest';
import { Reporter } from 'vitest/reporters';
import type { RunnerTestFile } from 'vitest';
import type { Reporter } from 'vitest/reporters';
import { writeFile } from 'fs/promises';

class JsonArrayReporter implements Reporter {
Expand Down
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export default [
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/explicit-module-boundary-types': 2,
'@typescript-eslint/no-unused-vars': 2,
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'@typescript-eslint/consistent-type-imports': 2,
},
},
];
Loading

0 comments on commit cf9f6b5

Please sign in to comment.