Skip to content

Conversation

@ChayimFriedman2
Copy link
Contributor

Via the observation that:

  • The IngredientIndex can be retrieved from the page, except for tracked fns
  • The generation is useless, except for interneds

And since they don't overlap, we can store only what needed for each.

For rust-analyzer, this saves 55mb on itself and 200mb on a large codebase (omicron).

@netlify
Copy link

netlify bot commented Dec 25, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 35a1b50
🔍 Latest deploy log https://app.netlify.com/projects/salsa-rs/deploys/694d2595d01ccb000899221b

@ChayimFriedman2 ChayimFriedman2 marked this pull request as ready for review December 25, 2025 11:31
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 25, 2025

CodSpeed Performance Report

Merging #1045 will improve performance by 5.42%

Comparing ChayimFriedman2:shrink-dki (35a1b50) with master (ce80691)

Summary

⚡ 1 improvement
✅ 12 untouched

Benchmarks breakdown

Benchmark BASE HEAD Efficiency
accumulator 3.3 ms 3.2 ms +5.42%

@ChayimFriedman2 ChayimFriedman2 force-pushed the shrink-dki branch 2 times, most recently from 6d82799 to 005814e Compare December 25, 2025 11:45
Via the observation that:

 - The `IngredientIndex` can be retrieved from the page, except for tracked fns
 - The generation is useless, except for interneds

And since they don't overlap, we can store only what needed for each.
@ChayimFriedman2
Copy link
Contributor Author

GitHub actions out of storage...

@MichaReiser
Copy link
Contributor

Nice, there are some test failures (re-running fixed the temporary out-of-disk-space error)

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.

2 participants