Skip to content

Instantly share code, notes, and snippets.

@jpleau
Created April 21, 2018 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpleau/4759ccbfd5a7f223d3f33c61c24c328c to your computer and use it in GitHub Desktop.
Save jpleau/4759ccbfd5a7f223d3f33c61c24c328c to your computer and use it in GitHub Desktop.
ok 15 leaks - reading file async
1024 9928704
2048 18034688
3072 18034688
4096 18034688
5120 18296832
6144 18296832
7168 18296832
8192 18296832
{ after = 18296832, before = 9928704 }
./tests/test-leaks.lua:24: assertion failed!
stack traceback:
[C]: in function 'assert'
./tests/test-leaks.lua:24: in upvalue 'bench'
./tests/test-leaks.lua:102: in field 'fn'
./lib/tap.lua:53: in function <./lib/tap.lua:42>
[C]: in function 'xpcall'
./lib/tap.lua:42: in upvalue 'run'
./lib/tap.lua:136: in function 'lib/tap'
tests/run.lua:35: in main chunk
[C]: in ?
not ok 16 leaks - reading file sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment