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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: JavaScript Cache Size Measurement

42 点作者 awirth超过 8 年前

5 条评论

shakna超过 8 年前
For those hitting errors, the code is on GitHub [0]<p>And here&#x27;s my own results: [1]<p>EDIT: I&#x27;ve also mirrored the repo, and turned it into a site using GitLab CI: [2]<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;allanlw&#x2F;cache_size" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;allanlw&#x2F;cache_size</a><p>[1] <a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;LKIvyCt.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;LKIvyCt.png</a><p>[2] <a href="http:&#x2F;&#x2F;shakna-israel.gitlab.io&#x2F;cache_size&#x2F;cache_size.html" rel="nofollow">http:&#x2F;&#x2F;shakna-israel.gitlab.io&#x2F;cache_size&#x2F;cache_size.html</a>
评论 #13149470 未加载
评论 #13149209 未加载
foota超过 8 年前
I get an error trying to visit the site on ssl on win 10 chrome: &quot;This site can’t provide a secure connection<p>fromwhenceitca.me sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR&quot;<p>Edit: not ssl works, so go to <a href="http:&#x2F;&#x2F;www.fromwhenceitca.me&#x2F;cache_size&#x2F;cache_size.html" rel="nofollow">http:&#x2F;&#x2F;www.fromwhenceitca.me&#x2F;cache_size&#x2F;cache_size.html</a>
评论 #13149056 未加载
评论 #13149010 未加载
评论 #13148923 未加载
评论 #13148891 未加载
feifan超过 8 年前
Results on a 15&quot; Touchbar MBP [0]<p>Curious about why there&#x27;s a big jump from 4MB to 8MB — I know my L3 cache size is 8M [1]<p>[0] <a href="http:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;8QNKO" rel="nofollow">http:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;8QNKO</a> [1] <a href="http:&#x2F;&#x2F;www.apple.com&#x2F;macbook-pro&#x2F;specs&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.apple.com&#x2F;macbook-pro&#x2F;specs&#x2F;</a>
评论 #13150027 未加载
robertelder超过 8 年前
$nslookup www.fromwhenceitca.me Server: 192.168.0.1 Address: 192.168.0.1#53<p><i></i> server can&#x27;t find www.fromwhenceitca.me: SERVFAIL<p>$ dig www.fromwhenceitca.me<p>; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt; www.fromwhenceitca.me ;; global options: +cmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, id: 23762 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1<p>;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;www.fromwhenceitca.me. IN A<p>;; Query time: 209 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Sat Dec 10 20:37:22 EST 2016 ;; MSG SIZE rcvd: 50<p>From Waterloo Canada
评论 #13149124 未加载
lgeek超过 8 年前
I can see some pretty strong effects (and false positives) from what seem to be TLB misses. On my system, on Firefox, the L2 size is not detected correctly if transparent huge pages are enabled, but on Chromium it is. I&#x27;d like to take a closer at what&#x27;s going on, but the tooling for performance-related debugging in browsers seem to be more or less missing. I&#x27;ve opened a pull request for some fixes to the C implementation though.
评论 #13152216 未加载