Show HN: JavaScript Cache Size Measurement
fromwhenceitca.me
fromwhenceitca.me
And here's my own results: [1]
EDIT: I've also mirrored the repo, and turned it into a site using GitLab CI: [2]
[0] https://github.com/allanlw/cache_size
[1] http://i.imgur.com/LKIvyCt.png
[2] http://shakna-israel.gitlab.io/cache_size/cache_size.html
Lots of iPhone users? Or all from the same address? Cos that'd be odd.
So if 10 people would load the app, their backend would make 10 requests to the icon on my server and then would relay those images to each user.
I could see something like this happening with a "push" system so when something new is posted on HN some overly clever dev decided to push the icon and title to each device to be read later but forgot to cache the icon so they end up slamming the server.
Just where the caching is happening inside the JS engine would be interesting but probably take me weeks to dig down. Any ideas?
fromwhenceitca.me sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR"
Edit: not ssl works, so go to http://www.fromwhenceitca.me/cache_size/cache_size.html
E: Obviously without the Windows Network Diagnostics part
Running behind a Cloudflare SSL Certificate, valid from 11AM December 11, 2016 GMT (today), expires in a year.
Curious about why there's a big jump from 4MB to 8MB — I know my L3 cache size is 8M [1]
[0] http://imgur.com/a/8QNKO [1] http://www.apple.com/macbook-pro/specs/
server can't find www.fromwhenceitca.me: SERVFAIL
$ dig www.fromwhenceitca.me
; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.fromwhenceitca.me ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 23762 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;www.fromwhenceitca.me. IN A
;; 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
From Waterloo Canada
It's certainly possible that there are some TLB issues with transparent huge pages that mess up the results. I've had a terrible time debugging the performance across different machines, browsers and OSes, and there seem to be an uncountable number of things that can go wrong, especially with the JITs in play. I'll try to track this one down later today, but I can't make any promises.