aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-13 11:58:10 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-17 11:39:14 +0100
commit9150b3e5442f9e9ebc53ef5d5a2cd00f01e6f118 (patch)
tree83821b735ea98a654dc6c23d6c75aa13d240a77b /executor
parent0da2fed84fb002e744806a36bddaf6787094e4a5 (diff)
prog: lazily initialize targets
We now have a bunch of targets compiled into each binary. All targets are initialized eagerly on startup time. As the result a do nothing binary starts for ~0.58s and consumes ~21MB. Initialize targets lazily. Usually only 1 target is used. This reduces startup time to ~0.00s and memory consumption to ~5.4MB.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions