Skip to content

perf(resolver): avoid double hashing by memoizing the hash#871

Merged
Boshen merged 1 commit intomainfrom
perf-resolver
Sep 9, 2023
Merged

perf(resolver): avoid double hashing by memoizing the hash#871
Boshen merged 1 commit intomainfrom
perf-resolver

Conversation

@Boshen
Copy link
Copy Markdown
Member

@Boshen Boshen commented Sep 9, 2023

@github-actions github-actions bot added the A-resolver Area - Resolver label Sep 9, 2023
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Sep 9, 2023

CodSpeed Performance Report

Merging #871 will improve performances by 22.29%

Comparing perf-resolver (23155b9) with main (d161de9)

Summary

🔥 2 improvements
✅ 16 untouched benchmarks

Benchmarks breakdown

Benchmark main perf-resolver Change
🔥 resolver[single-thread] 2.2 ms 1.8 ms +21.76%
🔥 resolver[multi-thread] 2.3 ms 1.9 ms +22.29%

@Boshen Boshen merged commit 6fdea72 into main Sep 9, 2023
@Boshen Boshen deleted the perf-resolver branch September 9, 2023 02:56
@Boshen Boshen mentioned this pull request Sep 9, 2023
4 tasks
eryue0220 added a commit to eryue0220/oxc that referenced this pull request Sep 11, 2023
…t/no-redeclare

* 'feat/no-redeclare' of github.com:eryue0220/oxc: (22 commits)
  deps: remove default-features from codspeed-criterion-compat
  chore(deps): bump the dependencies group with 4 updates (oxc-project#893)
  chore(deps): bump actions/checkout from 3 to 4 (oxc-project#894)
  feat(minifier): constant addition expression folding (oxc-project#882)
  chore(benchmark): turn on all lints (oxc-project#892)
  feat(linter): eslint-plugin-import(no-cycle) (oxc-project#890)
  chore: fix typo (oxc-project#889)
  perf(linter): early bail out if not jest fn (oxc-project#885)
  feat(linter): add typescript/no-explicit-any (oxc-project#881)
  feat(website): Hide error panel when query view is shown (oxc-project#884)
  fix(website): fix run_query call arguments (oxc-project#880)
  feat(linter): eslint-plugin-import/no-self-import (oxc-project#878)
  feat(linter): implement re-exports (oxc-project#877)
  ci(benchmark): install toolchain first
  refactor(resolver): clean up `load_alias` (oxc-project#875)
  fix(parser): parse [+In] in object binding initializer (oxc-project#874)
  chore(fuzz): add --sanitizer none command
  chore(fuzz): add nightly instructions
  refactor: clean up fuzzer, move it to repo root (oxc-project#872)
  perf(resolver): avoid double hashing by memoizing the hash (oxc-project#871)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-resolver Area - Resolver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant