Multiple changes.

- Use the ARC memory model for release builds.
 - Move logfile to a command line switch, to avoid chicken-and-egg logging when failing to parse YAML.
 - Fix logic bug: Stop processing rules on a good match
 - Add performance timer and memory used when logging to file
 - Rename 'headers' to 'match' in configuration file, more intention revealing
 - Add logger explicit flock (unlock) at process exit

FossilOrigin-Name: 7c439d99044b8d725c2dc1a806eec14fff7f0675afb14920de3c7c2581907640
This commit is contained in:
Mahlon E. Smith 2023-06-29 12:58:42 +00:00
parent 5b2e0b52bc
commit a938cf045a
7 changed files with 110 additions and 59 deletions

View file

@ -11,7 +11,7 @@ dependencies:
development: ${FILES}
# can use gdb with this...
nim --verbosity:2 --debugInfo --assertions:on --linedir:on -d:debug -d:nimTypeNames --nimcache:.cache c ${FILES}
nim --verbosity:2 --debugInfo --assertions:on --stacktrace:on --linedir:on -d:debug -d:nimTypeNames --nimcache:.cache c ${FILES}
mv src/sieb .
debugger: ${FILES}
@ -19,7 +19,7 @@ debugger: ${FILES}
mv src/sieb .
release:dependencies ${FILES}
nim -d:release -d:strip --passc:-flto --opt:speed --nimcache:.cache c ${FILES}
nim -d:release -d:strip --mm:arc -d:lto --opt:speed --nimcache:.cache c ${FILES}
mv src/sieb .
docs: