7 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr e09f69c82b chore: enable ts-check for bench tests utils (#4512)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-04 21:59:30 +03:00
Ophelia GoldsteinandAlexandr b25904c123 chore: improve bench tests utils jsdoc readability (#4501)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-02 21:35:18 +03:00
0d60641b7c tests: use custom benchmarking solution instead of outdated jest-bench package (#4468)
* Remove jest-bench dependency and use custom solutions

* review

* Update tests/bench/calculateRank.bench.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 22:20:32 +03:00
b594b57b56 feat: implement commits year option and display appropriate year label (#2107)
* add custom year

* edit fetcher

* add tests

* add documentation

* Update vercel.json

* Update fetchStats.test.js

* Update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* test: fix tests

* style: format code

* fix: fix commit stats time frame description #1053

This commit makes sure the last year label is shown when
`include_all_commits` or `year` is not provided. See #1053 for more
information.

* resolved merge conflict

* Update stats-fetcher.js

* resolve comments

* Update src/cards/types.d.ts

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update src/fetchers/stats-fetcher.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* graphQL year only to commit

* change argument name to commits_year

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* wrap label into function

* review

* more review

* fix test

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs

---------

Co-authored-by: Touch Sungkawichai <talay@10ninox.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 22:01:37 +03:00
Alexandr Garbuzov 1656ec6d3c tests: add pin card performance test (#3374) 2023-11-28 19:44:21 +02:00
Alexandr Garbuzov 0616df3746 tests: add gist card performance test (#3372) 2023-11-28 19:39:15 +02:00
Alexandr Garbuzov 428e97bfcc Add performance tests base (#3141)
* Add basic bench tests

* dev
2023-10-13 11:27:04 +02:00