29 Commits

Author SHA1 Message Date
Vladimir
766624abd6
feat: introduce the new reporter API (#7069)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-14 16:46:44 +01:00
Ari Perkkiö
6d23f4b11c
fix(benchmark): rewrite reporter without log-update (#7019) 2024-12-26 10:35:10 +02:00
Ari Perkkiö
4e60333dc7
fix(benchmark): disable type testing while benchmarking (#7068) 2024-12-11 15:31:03 +01:00
Vladimir
df6d750b79
fix(vitest): don't fail if the working directory starts with a lowercase drive letter (#6779) 2024-10-25 15:20:10 +02:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Hiroshi Ogawa
a6407afcf8
fix(benchmark): clear BenchmarkResult.samples array to reduce memory usage (#6541)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-09-25 10:34:30 +02:00
Minseok Choi
84a4fdb4dd
chore: benchmark word error change (#5886) 2024-06-16 14:20:54 +02:00
Hiroshi Ogawa
f8d3d22e3b
feat(benchmark): support comparing benchmark result (#5398)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-05-03 17:00:38 +02:00
Hiroshi Ogawa
becabb5e38
fix(browser): support benchmark (#5622) 2024-04-29 13:27:00 +02:00
Hiroshi Ogawa
18576a1b92
test: fix flaky benchmark summary (#5497) 2024-04-06 09:31:47 +02:00
Hiroshi Ogawa
bea234b1c4
fix(benchmark): table reporter for non TTY output (#5484) 2024-04-06 09:31:30 +02:00
Hiroshi Ogawa
db98145f4f
fix(benchmark): fix benchmark summary of single bench suite (#5489) 2024-04-05 13:00:28 +02:00
Hiroshi Ogawa
1f54834052
fix(benchmark): run benchmark suites sequentially (#5444) 2024-04-02 15:51:03 +02:00
Zac Mullett
b8140fcadc
fix(browser): resolved failure to find arbitrarily-named snapshot files when using expect(...).toMatchFileSnapshot() matcher. (#4839)
Co-authored-by: Zac Mullett <zac@Zacs-Air.modem>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-04 12:23:33 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Vladimir Sheremet
dd7ae1f46a chore: add type: module, remove old examples 2023-11-10 13:24:26 +01:00
Vladimir
edad9b19a6
fix(benchmark): don't fail when running correct benchmarks (#3629) 2023-06-20 10:53:20 +02:00
Ari Perkkiö
9fbb8d31b6
test: reduce usage of execa, add runVitest test utils (#3436) 2023-05-24 09:15:52 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
1cbc24dca6
fix: don't resolve builtin Node modules (#2538)
* fix: use "node:" prefix in Vitest imports

* chore: add test for prefix

* chore: cleanup

* chore: use more node protocol

* chore: cleanup

* chore: cleanup
2022-12-20 12:57:48 +03:00
yoho
1703f7c438
fix: don't fail bench when using options (#2295)
Co-authored-by: Vladimir <sheremet.va@icloud.com>
2022-11-08 16:40:13 +01:00
yoho
5b1ff43e66
feat: benchmark table report (#2179)
fix https://github.com/vitest-dev/vitest/issues/2005
2022-11-07 20:23:13 +08:00
Vladimir Sheremet
6beaf42500 test: improve benchmark test stability 2022-10-28 09:18:20 +02:00
KainStar
909a31dc34
fix: ignore benchmark.reporters in getSerializableConfig (#2164) 2022-10-18 11:04:20 +08:00
Mohammad Bagher Abiat
d6c066b196
feat(benchmark): todo mode (#2057) 2022-09-20 11:11:44 +08:00
Mohammad Bagher Abiat
119932f0c7
feat(benchmark): only mode (#2039) 2022-09-18 10:56:43 +08:00
Vladimir
95da4d6693
fix: move outputFile to benchmark, allow --reporter for benchmark (#2037) 2022-09-14 18:30:55 +03:00
Vladimir
f00a1ac228
docs: add information about benchmarking (#2001) 2022-09-10 15:54:55 +08:00
yoho
43ba8723a6
feat: benchmark (#1029)
* feat: benchmark

* feat: console result

* chore: lockfile

* chore: rebase

* chore: lock.yaml

* chore: pnpm lock yaml

* chore: update

* feat: collect benchmark

* chore: benchmark use suite collect bench

* chore: run

* chore: lock.yaml?

* feat: render

* chore: revert lock.yml

* chore: update

* feat: options.reports

* chore: update

* chore: async

* chore: defer

* chore: add options

* feat: warn

* chore: update

* feat: sort render

* chore: update

* chore: pnpm lock

* fix: import

* fix: types

* fix: types

* chore: build location

* fix: lint

* fix: lint

* feat: tinybench@2.1.3

* chore: update lock

* chore: reduce benchmark test time

* fix: render

* chore: rename

* feat: dynamic import tinybench

* chore: update

* chore: update sort rules

* feat: bench test

* chore: update test

* chore: update

* feat!: run mode

* feat: throw error on wrong mode

* chore: lint

* chore: cleanup

* chore: update output

* chore: remove options.benchmark is not used in viteConfig.test when command is not benchmark

* chore: update ops/sec

* feat: json reporter

* chore: ignore sample output on terminal

* chore: update

* chore: update

* fix: actually run tests

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-09-04 14:55:44 +03:00