Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: codspeed using vitest #2

Merged
merged 16 commits into from
Oct 17, 2024
Merged

feat: codspeed using vitest #2

merged 16 commits into from
Oct 17, 2024

Conversation

erikwrede
Copy link
Owner

No description provided.

Copy link

Hi @erikwrede, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

Copy link

codspeed-hq bot commented Oct 17, 2024

CodSpeed Performance Report

Congrats! CodSpeed is installed 🎉

🆕 12 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

  • build schema (109.7 ms)
  • build schema (69 ms)
  • Execute Async Iterable List Field (6.9 ms)
  • Execute Asynchronous List Field (5.4 ms)
  • Execute Synchronous List Field (4.4 ms)
  • Parse introspection query (1.7 ms)
  • Many repeated fields (308.2 ms)
  • Validate Introspection Query (27.8 ms)
  • Validate Invalid Query (50 ms)
  • Validate SDL Document (1.2 s)
  • Visit all AST nodes (1.1 s)
  • Visit all AST nodes in parallel (1.8 s)

@erikwrede erikwrede force-pushed the feat/codspeed-vitest branch from 2c380b4 to e1f79a2 Compare October 17, 2024 15:14
@erikwrede erikwrede merged commit b74ffdb into main Oct 17, 2024
31 checks passed
erikwrede added a commit that referenced this pull request Oct 17, 2024
* experiment: add codspeed

* fix: make esm loader happy

* fix: use correct node command

* chore: trigger codspeed run

* experiment: add codspeed using vitest

* chore: lint

* fix: revert import broken by lint

* experiment: try out patching

* chore: enable         env:
                        CODSPEED_FORCE_OPTIMIZATION: true

* trigger codspeed

* fix: adjust ci & lint to new benchmarks

* refactor: remove types/chai to prevent type conflicts. they now come bundled with vite

* chore: prettier

* fix: commonly ignored files

* chore: prettier

* chore: add codspeed to spellcheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant