TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Shrinkwrap: Taming Dynamic Shared Objects

12 点作者 setheron大约 3 年前

2 条评论

vup大约 3 年前
As mentioned in the blog post, guix already does something similar, by patching glibc to support a per-application loader cache [1]. shrinkwrap seems to increase the binary size a lot (6.6 MB without shrinkwrap, 13 MB after running shrinkwrap for emacs).<p>Also when comparing the performance, the guix approach seems to be a bit faster:<p><pre><code> hyperfine -m 100 -w 5 -n shrinkwrap &#x27;.&#x2F;emacs --version&#x27; -n guix &#x27;emacs --version&#x27; Benchmark #1: shrinkwrap Time (mean ± σ): 68.8 ms ± 13.7 ms [User: 45.8 ms, System: 22.9 ms] Range (min … max): 52.8 ms … 106.3 ms 100 runs Benchmark #2: guix Time (mean ± σ): 56.7 ms ± 12.3 ms [User: 34.9 ms, System: 21.7 ms] Range (min … max): 42.7 ms … 84.6 ms 100 runs Summary &#x27;guix&#x27; ran 1.21 ± 0.36 times faster than &#x27;shrinkwrap&#x27; </code></pre> [1] <a href="https:&#x2F;&#x2F;guix.gnu.org&#x2F;en&#x2F;blog&#x2F;2021&#x2F;taming-the-stat-storm-with-a-loader-cache&#x2F;" rel="nofollow">https:&#x2F;&#x2F;guix.gnu.org&#x2F;en&#x2F;blog&#x2F;2021&#x2F;taming-the-stat-storm-with...</a>
评论 #30894657 未加载
Animats大约 3 年前
Didn&#x27;t we do this last week?
评论 #30894653 未加载