faster CIs (#13803)
* ttables: smaller table, 5x speedup * thavlak: less iterations, less loops; 30% speedup * tasyncclosestall: shorter timeout; 35% speedup * gcleak4: less iterations, 2x speedup * ttimes: remove deprecated stuff * tdangerisrelease: remove cpp backend, 3x speedup * tfrexp1: smaller range, 2x speedup * trtree: fix warnings, less iterations, 6x speedup * tasyncawait_cyclebreaker: smaller swarm size; 2x speedup * trealloc: smaller number of iterations; 10x speedup * towned_binary_tree: less iterations, 4x speedup * tclosure: remove unused code, less iterations; 2x speedup * twaitany: less durations; 1.4x speedup * tasync_misc: less iterations, 2x speedup * t8535: smaller sleep, 1.5x speedup * tmanyjoin: smaller sleep, 2x speedup * t12221: shorter sleeps, removed two slower tests; 1.6x speedup * tfuturestream: smaller sleep; 1.5x speedup * growobjcrash: less iterations; 2x speedup * ttryrecv: smaller sleep; 1.5x speedup * treusetvar: less threads; 2x speedup * delete tthreadanalysis2, basically a duplicate of tthreadanalysis * t7758: less iterations, 1.5x speedup * tasyncawait: smaller swarm, less messages; 1.5x speedup * tjsandnativeasync: smaller sleep, 1.5x speedup * tpendingcheck: smaller sleep, 1.5x speedup * remove rodfiles test category * move tseq from its own category to 'collections' category * remove unneeded tests and helpers from 'assert' category * stdlib: merge tbitops2 into tbitops * remove 'trepr2' from 'stdlib' cat * merge 'tstreams' into one file * remove 'tinefficient_const_table' from 'ccbugs' cat * merge 'tcollections_to_string' into 'tcollections' * tblocking_channel: smaller sleep, small speedup * tconvexhull: less iterartions; 1.2x speedup * merge 'tdeepcopy2' into 'tdeepcopy' * merge 'tdisjoint_slice2' into 'tdisjoint_slice1' * tmissing_deepcopy: smaller sequence * tsendtwice: smaller arrays; 5x speedup * remove 'tindexerrorformatbounds' * disable multimethod tests * remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests * koch.nim: bootstrap just with '-d:release', no need for 'csource' * add github workflow for documentation * testament: no need for 8 sub-second decimals
This commit is contained in:
parent
2a278f6eba
commit
8088633250
72 changed files with 532 additions and 1082 deletions
|
|
@ -35,7 +35,7 @@ proc newPlus(a, b: sink(ref TExpr)): ref TPlusExpr =
|
|||
|
||||
const Limit = when compileOption("gc", "markAndSweep") or compileOption("gc", "boehm"): 5*1024*1024 else: 500_000
|
||||
|
||||
for i in 0..100_000:
|
||||
for i in 0..50_000:
|
||||
var s: array[0..11, ref TExpr]
|
||||
for j in 0..high(s):
|
||||
s[j] = newPlus(newPlus(newLit(j), newLit(2)), newLit(4))
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const Limit = 5*1024*1024
|
|||
|
||||
proc main =
|
||||
var counter = 0
|
||||
for i in 0 .. 100_000:
|
||||
for i in 0 .. 10_000:
|
||||
for k, v in handleRequest("nick=Elina2&type=activate"):
|
||||
inc counter
|
||||
if counter mod 100 == 0:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
discard """
|
||||
output: '''Welcome to LoopTesterApp, Nim edition
|
||||
Constructing Simple CFG...
|
||||
15000 dummy loops
|
||||
5000 dummy loops
|
||||
Constructing CFG...
|
||||
Performing Loop Recognition
|
||||
1 Iteration
|
||||
Another 5 iterations...
|
||||
.....
|
||||
Found 1 loops (including artificial root node) (5)'''
|
||||
Another 3 iterations...
|
||||
...
|
||||
Found 1 loops (including artificial root node) (3)'''
|
||||
"""
|
||||
|
||||
# bug #3184
|
||||
|
|
@ -384,9 +384,9 @@ proc run(self: var LoopTesterApp) =
|
|||
discard self.cfg.createNode(1)
|
||||
self.buildConnect(0, 2)
|
||||
|
||||
echo "15000 dummy loops"
|
||||
echo "5000 dummy loops"
|
||||
|
||||
for i in 1..15000:
|
||||
for i in 1..5000:
|
||||
withScratchRegion:
|
||||
var h = newHavlakLoopFinder(self.cfg, newLsg())
|
||||
discard h.findLoops
|
||||
|
|
@ -414,10 +414,10 @@ proc run(self: var LoopTesterApp) =
|
|||
var h = newHavlakLoopFinder(self.cfg, newLsg())
|
||||
var loops = h.findLoops
|
||||
|
||||
echo "Another 5 iterations..."
|
||||
echo "Another 3 iterations..."
|
||||
|
||||
var sum = 0
|
||||
for i in 1..5:
|
||||
for i in 1..3:
|
||||
withScratchRegion:
|
||||
write stdout, "."
|
||||
flushFile(stdout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue