Skip to content

Track source files as incremental query inputs - #73

Open
charliermarsh wants to merge 1 commit into
charlie/1.98/incremental-driver-inputsfrom
charlie/1.98/incremental-source-file-inputs
Open

charliermarsh wants to merge 1 commit into
charlie/1.98/incremental-driver-inputsfrom
charlie/1.98/incremental-source-file-inputs

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

Add a source_file_hash query for analyses that depend on source text as well as HIR. It uses rustc's existing file-content hash and source availability, so comment and whitespace edits can invalidate a query even when HIR is unchanged.

Clippy #49 uses this to cache passes whose suggestions read source snippets. Unchanged files retain their cached consumers; changed or missing files cause those consumers to run again.

@codspeed

codspeed Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 22 untouched benchmarks
⏩ 8 skipped benchmarks1


Comparing charlie/1.98/incremental-source-file-inputs (4080b8d) with charlie/1.98/incremental-driver-inputs (d7bcc9f)2

Open in CodSpeed

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on charlie/1.98/incremental-driver-inputs (727a5d2) during the generation of this report, so d7bcc9f was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from dd4f672 to 8d5d998 Compare September 1, 2026 17:56
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 8d5d998 to 629bee2 Compare September 1, 2026 18:05
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 629bee2 to 08089eb Compare September 1, 2026 19:00
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 08089eb to 6d95bfc Compare September 3, 2026 14:24
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 6d95bfc to 09bc545 Compare September 3, 2026 18:17
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 09bc545 to 795656f Compare September 6, 2026 20:33
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 795656f to 4080b8d Compare September 8, 2026 21:06
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch 2 times, most recently from 7a44674 to edb1a00 Compare September 16, 2026 19:07
@charliermarsh
charliermarsh removed this pull request from stack #135 September 16, 2026 19:08
@charliermarsh
charliermarsh removed this pull request from stack #143 October 1, 2026 15:57
@charliermarsh
charliermarsh changed the base branch from charlie/1.98/incremental-driver-inputs to ohm-1.99.0 October 1, 2026 15:59
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from edb1a00 to ae6bcd2 Compare October 1, 2026 16:02
@charliermarsh
charliermarsh changed the base branch from ohm-1.99.0 to charlie/1.98/incremental-driver-inputs October 1, 2026 16:04
@charliermarsh
charliermarsh added this pull request to stack #150 October 1, 2026 16:06
@charliermarsh
charliermarsh added this pull request to stack #153 October 1, 2026 16:37
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 4ce8431 to ba67eb6 Compare October 7, 2026 14:09
@charliermarsh
charliermarsh removed this pull request from stack #153 October 7, 2026 14:09
@charliermarsh
charliermarsh added this pull request to stack #159 October 7, 2026 14:09
@charliermarsh
charliermarsh removed this pull request from stack #159 October 7, 2026 14:33
@charliermarsh
charliermarsh added this pull request to stack #162 October 7, 2026 14:33
@charliermarsh
charliermarsh removed this pull request from stack #162 October 17, 2026 00:40
@charliermarsh
charliermarsh added this pull request to stack #186 October 17, 2026 00:40
@charliermarsh
charliermarsh removed this pull request from stack #186 October 17, 2026 02:24
@charliermarsh
charliermarsh added this pull request to stack #188 October 17, 2026 02:25
@charliermarsh
charliermarsh removed this pull request from stack #188 October 20, 2026 22:12
@charliermarsh
charliermarsh added this pull request to stack #196 October 20, 2026 22:12
@charliermarsh
charliermarsh removed this pull request from stack #196 October 25, 2026 13:07
@charliermarsh
charliermarsh added this pull request to stack #229 October 25, 2026 13:07
@charliermarsh
charliermarsh removed this pull request from stack #229 October 27, 2026 02:58
@charliermarsh
charliermarsh added this pull request to stack #235 October 27, 2026 02:58
@charliermarsh
charliermarsh removed this pull request from stack #235 October 27, 2026 15:09
@charliermarsh
charliermarsh added this pull request to stack #237 October 27, 2026 15:09
@charliermarsh
charliermarsh removed this pull request from stack #237 October 27, 2026 21:36
@charliermarsh
charliermarsh added this pull request to stack #240 October 27, 2026 21:36
@charliermarsh
charliermarsh removed this pull request from stack #240 October 28, 2026 00:24
@charliermarsh
charliermarsh added this pull request to stack #242 October 28, 2026 00:24
@charliermarsh
charliermarsh removed this pull request from stack #242 October 28, 2026 17:21
@charliermarsh
charliermarsh added this pull request to stack #248 October 28, 2026 17:21
@charliermarsh
charliermarsh removed this pull request from stack #248 October 29, 2026 05:05
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from ba67eb6 to 65e0e7e Compare October 30, 2026 22:13
@charliermarsh
charliermarsh force-pushed the charlie/1.98/incremental-source-file-inputs branch from 65e0e7e to 4170911 Compare November 17, 2026 07:32
@charliermarsh
charliermarsh added this pull request to stack #425 November 17, 2026 07:33
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