Skip to content

Commit

Permalink
update heap differences
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Jul 11, 2023
1 parent ebea3e9 commit d61ddee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/run/idl-ops.mo
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ assert((?arrayNat) == deserArrayInt (serArrayInt arrayNat));
assert((?arrayNat) == deserArrayInt (serArrayInt arrayNat));
assert(null == deserArrayNat (serArrayInt arrayInt));
assert((?arrayInt) == deserArrayInt (serArrayInt arrayInt));
let heapDifference = Prim.rts_heap_size() : Int - started_with;
// Difference between incremental and non-incremental GC
assert(heapDifference == +12_672 or heapDifference == +13_288);
assert(heapDifference == +6_848 or heapDifference == +7_464);
//SKIP run
//SKIP run-ir
Expand Down
2 changes: 1 addition & 1 deletion test/run/idl.mo
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ assert(arrayInt == deserArrayInt (serArrayInt arrayInt));
let heapDifference = Prim.rts_heap_size() : Int - started_with;
// Difference between incremental and non-incremental GC
assert(heapDifference == +8_744 or heapDifference == +9_144);
assert(heapDifference == +4_488 or heapDifference == +4_888);
//SKIP run
//SKIP run-ir
Expand Down

0 comments on commit d61ddee

Please sign in to comment.