summary refs log tree commit diff stats
path: root/tests/gc
Commit message (Collapse)AuthorAgeFilesLines
* gc_regions: cleanup & fixes for deallocation (#11920)alaviss2020-08-171-0/+23
| | | | | | | | | * gc_regions: withRegion nows return the modified MemRegion * gc_regions: make withScratchRegion dealloc correctly * tests/gc: add tregionleak test This test checks if memory within regions are freed properly.
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-1/+1
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* new implementations for --gc:orc (#14121)Andreas Rumpf2020-04-271-1/+2
| | | | | | | | | * cycle collector: new implementation * cycle collector: make self-adaptive based on its previous effectiveness * cycle collector: added Lins's jump stack to improve traversal from 3*N to 2*N * cycle collector: make tests green * API extensions and bugfixes * code cleanup and use --gc:orc for tasyncawait
* faster CIs (#13803)Miran2020-03-303-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* save another 33s of CI for tests/gc/gcleak.nimTimothee Cour2020-02-271-1/+8
|
* CI tests run faster: save 120s in azure machines, 335s on local OSXTimothee Cour2020-02-271-1/+13
|
* revert changes to tests/gc/gcleak2.nimTimothee Cour2020-02-271-72/+5
|
* make CI tests faster + more preciseTimothee Cour2020-02-271-5/+72
|
* TlSF Alloctor: use less memory for --gc:arc (#13280)Andreas Rumpf2020-01-281-0/+2
|
* fixes #12899 (#12921)Andreas Rumpf2019-12-181-2/+2
| | | | | | * fixes #12899 * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-172-17/+29
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* fixes a flaky test for the realtime GCAraq2019-11-281-3/+0
|
* ARC: ported the GC tests over to --gc:arcAraq2019-11-266-15/+31
|
* thavlak.nim: more idiomatic codeAraq2019-11-211-45/+45
|
* more thavlak.nim improvementsAraq2019-11-211-4/+4
|
* more thavlak.nim improvementsAraq2019-11-211-78/+51
|
* thavlak.nim test: improved the code styleAraq2019-11-211-28/+21
|
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-2/+2
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* gcbench: better memory usage reportAndreas Rumpf2019-09-031-2/+2
|
* Remove ENDB (#12095)Clyybber2019-08-311-2/+0
|
* thavlak: code style changesAndreas Rumpf2019-08-211-18/+20
|
* travis: cleanup & add 32-bit Linux testing (#11337)alaviss2019-05-301-0/+1
|
* make tests green againAraq2019-05-271-8/+3
|
* ported havlak and gcbench benchmarks to work with --gc:regionsAndreas Rumpf2019-01-192-41/+54
|
* GC tests: make them take less time to save CI cyclesAndreas Rumpf2019-01-192-7/+5
|
* make thavlak and tmarkerproc_regression tests take fewer iterations in order ↵Araq2018-10-171-5/+5
| | | | to speedup the CIs
* make more tests green; system.repr does not produce 'nil' for strings and ↵Araq2018-08-221-1/+1
| | | | seqs anymore
* make more things compile without isNilAraq2018-08-221-2/+1
|
* make growobjcrash complete earlierAraq2018-08-051-1/+1
|
* fixes #7833; still to-do: fix setLenAraq2018-07-301-2/+2
|
* Testament should run tests with no action (#8232)genotrance2018-07-081-1/+0
| | | | | | * Testament should run tests with no action * Fix strutils tests for JS
* make tests green againAndreas Rumpf2018-07-051-3/+3
|
* turn destructors into finalizersAndreas Rumpf2018-07-051-3/+3
|
* Fix gc tests for BoehmGC (#7094)Sergey Avseyev2018-01-183-6/+3
|
* hardened gctestAraq2018-01-151-3/+3
|
* GC improvements; distinguish between thread local and globals in the marking ↵Araq2018-01-142-21/+36
| | | | step
* fixArne Döring2017-07-241-1/+1
|
* Add ``tearDownForeignThreadGc`` function (#5369)Anatoly Galiulin2017-02-131-0/+88
|
* fixes #3184Andreas Rumpf2016-05-221-0/+457
|
* fixes #3793Andreas Rumpf2016-05-161-0/+37
|
* makes tests greenAndreas Rumpf2016-01-151-1/+1
|
* Added a test to check how gc works in emscripten.Andrey Sobolev2015-09-231-0/+59
| | | | Test will fail in emscripten and pass in normal environment.
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-046-173/+173
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Don't access GCed field in finalizer. Fixes #2305Yuriy Glukhov2015-08-241-8/+7
|
* renamed writeln to writeLine in testspatrick dw2015-06-191-14/+14
|
* increase limit for 64bit systemsAraq2015-02-101-1/+1
|
* fixes #2070Araq2015-02-101-0/+29
|
* cleaned up GC tests; fixes object variant re-assign bugAraq2015-02-101-1/+3
|
* fixes #1796Araq2015-01-053-3/+25
|