diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-18 18:51:48 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-18 18:51:48 -0700 |
commit | a39df92d50347177e93a8828d133b57c7056c5f4 (patch) | |
tree | 011cba4cbc093f0a496ca035ea14e5785a422f7d /027debug.cc | |
parent | 8ba8f0f6f268ede8f16f5b7f6c7b2470c836964c (diff) | |
download | mu-a39df92d50347177e93a8828d133b57c7056c5f4.tar.gz |
1401 - shave 80% off chessboard test time
It was all going to laboriously writing out 300+ MB to disk.
Diffstat (limited to '027debug.cc')
-rw-r--r-- | 027debug.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/027debug.cc b/027debug.cc index 7b96e4e9..6b409d0b 100644 --- a/027debug.cc +++ b/027debug.cc @@ -47,6 +47,19 @@ case _STOP_TRACING: { } :(before "End Primitive Recipe Declarations") +_CLOSE_TRACE, +:(before "End Primitive Recipe Numbers") +Recipe_number["$close-trace"] = _CLOSE_TRACE; +:(before "End Primitive Recipe Implementations") +case _CLOSE_TRACE: { + if (Trace_stream) { + delete Trace_stream; + Trace_stream = NULL; + } + break; +} + +:(before "End Primitive Recipe Declarations") _EXIT, :(before "End Primitive Recipe Numbers") Recipe_number["$exit"] = _EXIT; |