frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Can we know whether a profiler is accurate?

https://stefan-marr.de/2025/10/can-we-know-whether-a-profiler-is-accurate/
31•todsacerdoti•4h ago

Comments

comex•3h ago
Another option is to use the "processor trace" functionality available in Intel and Apple CPUs. This can give you a history of every single instruction executed and timing information every few instructions, with very little observer effect. Probably way more accurate than the approach in the paper, though you need the right kind of CPU and you have to deal with a huge amount of data being collected.
scottgg•2h ago
Do you have a source for “with very little observer effect”? I don’t know better, it just seems like a big assumption the CPU can emit all this extra stuff without behaving differently.
achierius•1h ago
It's not an assumption, this is based on claims made by CPU manufactures. It's possible to get it down to within 1-2% overhead.

Intuitively this works because the hardware can just spend some extra area to stream the info off on the side of the datapath -- it doesn't need to be in the critical path.

satisfice•2h ago
In the early nineties I was test manager of the Borland Profiler. I didn’t supervise the tester of the profiler closely enough, and discovered only when customers complained that the profiler results were off by a quarter second on every single measurement reported.

It turns out that the tester had not been looking closely at the output, other than to verify that output consisted of numbers. He didn’t have any ideas about how to test it, so he opted for mere aesthetics.

This is one of many incidents that convinced me to look closely and carefully at the work of testers I depend upon. Testing is so easy to fake.

dboreham•2h ago
In my experience a very large proportion of all automated testing is like this if you go poking into what it does.
satisfice•26m ago
My experience is the same.

FSF announces Librephone project

https://www.fsf.org/news/librephone-project
647•g-b-r•6h ago•244 comments

I am a programmer, not a rubber-stamp that approves Copilot generated code

https://prahladyeri.github.io/blog/2025/10/i-am-a-programmer.html
80•pyeri•1h ago•72 comments

Pixnapping Attack

https://www.pixnapping.com/
12•kevcampb•32m ago•1 comments

A modern approach to preventing CSRF in Go

https://www.alexedwards.net/blog/preventing-csrf-in-go
44•todsacerdoti•15h ago•6 comments

Beliefs that are true for regular software but false when applied to AI

https://boydkane.com/essays/boss
326•beyarkay•12h ago•245 comments

Nvidia DGX Spark: great hardware, early days for the ecosystem

https://simonwillison.net/2025/Oct/14/nvidia-dgx-spark/
79•GavinAnderegg•5h ago•24 comments

Interviewing Intel's Chief Architect of x86 Cores

https://chipsandcheese.com/p/interviewing-intels-chief-architect
66•ryandotsmith•5d ago•0 comments

How bad can a $2.97 ADC be?

https://excamera.substack.com/p/how-bad-can-a-297-adc-be
223•jamesbowman•13h ago•120 comments

Can we know whether a profiler is accurate?

https://stefan-marr.de/2025/10/can-we-know-whether-a-profiler-is-accurate/
31•todsacerdoti•4h ago•6 comments

DOJ seizes $15B in Bitcoin from 'pig butchering' scam based in Cambodia

https://www.cnbc.com/2025/10/14/bitcoin-doj-chen-zhi-pig-butchering-scam.html
63•pseudolus•15h ago•57 comments

Unpacking Cloudflare Workers CPU Performance Benchmarks

https://blog.cloudflare.com/unpacking-cloudflare-workers-cpu-performance-benchmarks/
184•makepanic•10h ago•29 comments

How AI hears accents: An audible visualization of accent clusters

https://accent-explorer.boldvoice.com/
198•ilyausorov•14h ago•78 comments

Printing Petscii Faster

https://retrogamecoders.com/printing-petscii-faster/
19•ibobev•4d ago•2 comments

Hacking the Humane AI Pin

https://writings.agg.im/posts/hacking_ai_pin/
114•agg23•6d ago•26 comments

SmolBSD – build your own minimal BSD system

https://smolbsd.org
173•birdculture•12h ago•12 comments

How to turn liquid glass into a solid interface

https://tidbits.com/2025/10/09/how-to-turn-liquid-glass-into-a-solid-interface/
126•tambourine_man•11h ago•89 comments

Astronomers 'image' a mysterious dark object in the distant Universe

https://www.mpg.de/25518363/1007-asph-astronomers-image-a-mysterious-dark-object-in-the-distant-u...
214•b2ccb2•15h ago•115 comments

Show HN: Greenonion.ai – AI-Powered Design Assistant

https://exuberant-premise-723012.framer.app/
26•yanjiechg•1w ago•18 comments

A 12,000-year-old obelisk with a human face was found in Karahan Tepe

https://www.trthaber.com/foto-galeri/karahantepede-12-bin-yil-oncesine-ait-insan-yuzlu-dikili-tas...
291•fatihpense•1w ago•126 comments

Python's splitlines does more than just newlines

https://yossarian.net/til/post/python-s-splitlines-does-a-lot-more-than-just-newlines/
9•woodruffw•6d ago•1 comments

Surveillance data challenges what we thought we knew about location tracking

https://www.lighthousereports.com/investigation/surveillance-secrets/
372•_tk_•10h ago•88 comments

CSS for Styling a Markdown Post

https://webdev.bryanhogan.com/miscellaneous/styling-markdown/
33•bryanhogan•1w ago•9 comments

What Americans die from vs. what the news reports on

https://ourworldindata.org/does-the-news-reflect-what-we-die-from
506•alphabetatango•11h ago•282 comments

GrapheneOS is ready to break free from Pixels

https://www.androidauthority.com/graphene-os-major-android-oem-partnership-3606853/
266•MaximilianEmel•8h ago•107 comments

Disk Prices

https://diskprices.com/?locale=us
88•bookofjoe•4h ago•38 comments

Why Is SQLite Coded In C

https://www.sqlite.org/whyc.html
167•plainOldText•10h ago•196 comments

ADS-B Exposed

https://adsb.exposed/
297•keepamovin•19h ago•76 comments

Preparing for AI's economic impact: exploring policy responses

https://www.anthropic.com/research/economic-policy-responses
42•grantpitt•11h ago•36 comments

Show HN: Metorial (YC F25) – Vercel for MCP

https://github.com/metorial/metorial
51•tobihrbr•15h ago•19 comments

Beating the L1 cache with value speculation (2021)

https://mazzo.li/posts/value-speculation.html
28•shoo•4d ago•7 comments