diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-11-02 16:48:55 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-11-04 18:37:56 +0100 |
commit | 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c (patch) | |
tree | 42c3a518daa8290c3e42f798b0a87ee91f51300b /docs/src | |
parent | e94c184c7c4a18f3de569c97caeb83f4ff98a4b2 (diff) | |
download | libuv-00c6b1649d13fdd94bedbfe7ad26c9269c80b32c.tar.gz libuv-00c6b1649d13fdd94bedbfe7ad26c9269c80b32c.zip |
darwin: speed up uv_set_process_title()
Libuv loaded and unloaded the Core Services and Application Services for
every call to uv_set_process_title().
Change that to load them on the first call to uv_set_process_title() and
delay unloading until libuv is unloaded.
Speeds up process_title_threadsafe by about 10x on my system.
PR-URL: https://github.com/libuv/libuv/pull/2064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions