Skip to content

Conversation

@antoniosarosi
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Nov 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
promptfiddle Ready Ready Preview Comment Nov 19, 2025 6:03pm

@github-actions
Copy link

@github-actions
Copy link

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 17, 2025

CodSpeed Performance Report

Merging #2723 will degrade performances by 30.02%

Comparing antonio/salsa-hir (6dc1224) with canary (4c9d507)

Summary

❌ 6 regressions
✅ 9 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Mode Benchmark BASE HEAD Change
WallTime bench_incremental_add_field 23.5 µs 30.2 µs -22.19%
WallTime bench_incremental_add_new_file 23.4 µs 30.9 µs -24.15%
WallTime bench_incremental_modify_function 23.7 µs 30.5 µs -22.28%
WallTime bench_incremental_no_change 22.9 µs 29.6 µs -22.84%
WallTime bench_lexer_only_simple 55.5 µs 79.2 µs -30.02%
WallTime bench_parse_only_simple 122.6 µs 151.3 µs -18.96%

//!
//! The `ItemTree` contains minimal representations of all items in a container.
//! It acts as an "invalidation barrier" - only changes to item signatures
//! cause the `ItemTree` to change, not edits to whitespace, comments, or bodies.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious - why don't changes to bodies (does this mean function bodies) cause the function to get invalidated?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


/// Tracked struct holding all items defined in a file.
///
/// This follows the Salsa 2022 pattern: instead of returning Vec<ItemId<'db>>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nit - we can remove some of the redundant explanations)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, I would say we do intensive human review after we're done

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

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.

3 participants