64dab4db78756a226ce83cb6c3d60d3001ebbc9e
Introduce a new `WREN_TRACE_GC` compile-time flag in `wren_common.h` to enable dedicated GC tracing independently from general memory tracing. When either `WREN_TRACE_MEMORY` or `WREN_TRACE_GC` is set, include `<time.h>` and modify `collectGarbage()` to measure elapsed wall-clock time using `clock()`. The GC trace now reports bytes before and after collection, bytes collected, the next GC threshold, and the duration in seconds. Also move the `-- gc --` header print and the `nextGC` calculation inside the tracing guard to avoid side-effects when tracing is disabled.
Description
Highly customized version of the wren programming language. It has all the modules that you would expect in a std library including http, websockets, sqlite3 and jinja-like templating engine. The idea is to make it suitable for web development.
22 MiB
Languages
HTML
50%
C
22.2%
PHP
13.4%
C++
6%
Makefile
2.9%
Other
5.5%