Skip to content

Commit

Permalink
Relax the peak memory resident threshold for WishYouWereFast
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 25, 2024
1 parent 043456b commit b9ec29f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Benchmarks/Benchmarks/WishYouWereFast/WishYouWereFast.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ let benchmarks = {
atPath: wishYouWereFast.path
) {
guard file.hasSuffix(".wasm") else { continue }
Benchmark("\(file)") { benchmark in
Benchmark("\(file)", configuration: .init(thresholds: [
.peakMemoryResident: .relaxed,
.peakMemoryResidentDelta: .relaxed,
])) { benchmark in
let engine = Engine()
let store = Store(engine: engine)
let module = try parseWasm(
Expand Down

0 comments on commit b9ec29f

Please sign in to comment.