Skip to content

Commit

Permalink
Changed total work in timed test, this hopefully will make it more ro…
Browse files Browse the repository at this point in the history
…bust.
  • Loading branch information
hulpke committed Mar 18, 2021
1 parent fbd7eeb commit 9e6a07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tst/testbugfix/2006-08-28-t00151.tst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 2006/08/28 (FL)
gap> time1 := 0;;
gap> for j in [1..10] do
gap> for j in [1..20] do
> l:=List([1..100000],i->[i]);
> t1:=Runtime(); for i in [1..100000] do a := PositionSorted(l,[i]); od; t2:=Runtime();
> time1 := time1 + (t2-t1);
> od;
gap> time2 := 0;;
gap> for j in [1..10] do
gap> for j in [1..20] do
> l := Immutable( List([1..100000],i->[i]) );
> t1:=Runtime(); for i in [1..100000] do a := PositionSorted(l,[i]); od; t2:=Runtime();
> time2 := time2 + (t2-t1);
Expand Down

0 comments on commit 9e6a07d

Please sign in to comment.