Skip to content

Commit

Permalink
increase json parsing test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Feb 21, 2024
1 parent 8886dd0 commit 3347a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ISA/ISA.Json.Tests/ArcTypes.Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ let tests_ArcAssay = testList "ArcAssay" [
t.AddColumn(CompositeHeader.Characteristic (OntologyAnnotation.fromString("MyCharacteristic")))
t.AddColumn(CompositeHeader.Output IOType.Sample)
let rowCount = 10000
printfn "rowCount: %d" rowCount
for i = 0 to rowCount - 1 do
let cells =
[|
Expand All @@ -284,7 +283,8 @@ let tests_ArcAssay = testList "ArcAssay" [
t.Values.[(j,i)] <- cells.[j]
let f() = ArcAssay.toJsonString a
// 1200ms in Dotnet on i7-13800H
Expect.wantFaster f 2500 "toJsonString should be faster" |> ignore
// 3412ms in Javascript on i7-13800H
Expect.wantFaster f 5000 "toJsonString should be faster" |> ignore
]
]

Expand Down

0 comments on commit 3347a99

Please sign in to comment.