diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-04-16 13:13:20 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-04-16 13:13:20 +0200 |
commit | d57683f5f67d6651f7b3353ff347ae57a409e0d4 (patch) | |
tree | 1ffc5bda90e3eedad0a35eaa8937472f5563c796 /tex/context/base/mkiv/mlib-ctx.lua | |
parent | d5d5a39dc16881d098a99b74cba9020d96be4e11 (diff) | |
download | context-d57683f5f67d6651f7b3353ff347ae57a409e0d4.tar.gz |
2018-04-16 12:13:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-ctx.lua')
-rw-r--r-- | tex/context/base/mkiv/mlib-ctx.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/mlib-ctx.lua b/tex/context/base/mkiv/mlib-ctx.lua index c568b92a3..b51c4fd9d 100644 --- a/tex/context/base/mkiv/mlib-ctx.lua +++ b/tex/context/base/mkiv/mlib-ctx.lua @@ -337,17 +337,17 @@ implement { } } -statistics.register("metapost processing time", function() +statistics.register("metapost", function() local n = metapost.n if n and n > 0 then local nofconverted = metapost.makempy.nofconverted local elapsedtime = statistics.elapsedtime local elapsed = statistics.elapsed local instances, memory = metapost.getstatistics(true) - local str = format("%s seconds, loading: %s, execution: %s, n: %s, average: %s, instances: %i, memory: %0.3f M", + local str = format("%s seconds, loading: %s, execution: %s, n: %s, average: %s, instances: %i, luacalls: %i, memory: %0.3f M", elapsedtime(metapost), elapsedtime(mplib), elapsedtime(metapost.exectime), n, elapsedtime((elapsed(metapost) + elapsed(mplib) + elapsed(metapost.exectime)) / n), - instances, memory/(1024*1024)) + instances, metapost.nofscriptruns(),memory/(1024*1024)) if nofconverted > 0 then return format("%s, external: %s (%s calls)", str, elapsedtime(metapost.makempy), nofconverted) |