Skip to content

Commit eaec88e

Browse files
kylehowellsclaude
andcommitted
Remove flaky timing assertion in profileEntityDecoding
CI machines have variable performance, so hard timing thresholds cause spurious failures. Profiling tests should report data, not fail based on absolute times. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8835b01 commit eaec88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/swift-justhtmlTests/ProfilingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func loadSampleFile(_ name: String) throws -> String {
322322
print("\nwikipedia_ww2.html has \(ampCount) potential entity references")
323323
}
324324

325-
#expect(avgMs < 200, "Entity-heavy parsing should be under 200ms")
325+
// Note: No timing assertion - CI machines have variable performance
326326
}
327327

328328
@Test func profileDictionaryLookup() async throws {

0 commit comments

Comments
 (0)