frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Hotspot: Linux `perf` GUI for performance analysis

https://github.com/KDAB/hotspot
54•jez•2d ago

Comments

gue-ni•5h ago
Fun fact: firefox also supports loading 'perf' reports: https://profiler.firefox.com/
the8472•4h ago
useful for small profiles, but it blows up on larger ones. hotspot handles multi-gigabytes recordings fine on the same hardware.
milianw•1h ago
I still think we should find a way to integrate the two somehow - i.e. analyze locally and then send the pre-analyzed data for visualization purposes to the remote firefox profiler. Does anyone know a good format we could use for that purpose? It needs to be non-verbose to not hit the infamous 2GB/4GB JSON heap size limitation on import e.g. Similarly, we also need something that can deal with the various cost types we support in hotspot, most notably off-CPU time.
pityJuke•16m ago
samply [0] does something to send data to Firefox Profiler that I've had better results with compared to the regular import.

[0]: https://github.com/mstange/samply

fransje26•4h ago
Great tool that has been really helpful in helping me find unexpected bottlenecks in the codebases I've been working on.

It's easy to use, and pairs beautifully with the unintrusive perf tool, which makes the combination a joy to use.

And, if combined with a codebase opened in QtCreator, you can click on a hotspot in the flamegraph, and it will bring you automagically to the correct file and line in QtCreator, without any explicit linking required between the two programs. I discovered that feature accidentally, and the fact that it just worked seamlessly really impressed me. (Tested on a Debian-based Linux).

A big thanks to KDAB for making this tool available to us!

milianw•1h ago
You are welcome :)

And to people using other IDE/editors - you can configure which one gets opened when you click on a source line from the hotspot settings. QtCreator is just the default (when that is installed).

pjmlp•3h ago
Nice tool, thanks for the heads up.
ognarb•3h ago
From the same author, Heaptrack to investigate memory usage is also very helpful: https://invent.kde.org/sdk/heaptrack/
throwaway0665•2h ago
I just assumed they used the same gui toolkit. Awesome to hear they're from the same author.
directmusic•1h ago
I primarily do macOS development work and use Instruments for profiling, but have been working on Linux a lot lately and Hotspot has been pulled out a lot over the last few weeks. Highly recommended.
wizzledonker•6m ago
This is a fantastic tool and I recommend it! I use it every day to recursively solve bottlenecks in our code base.

Making the rav1d Video Decoder 1% Faster

https://ohadravid.github.io/posts/2025-05-rav1d-faster/
57•todsacerdoti•1h ago•10 comments

Planetfall

https://somethingaboutmaps.wordpress.com/2025/05/20/planetfall/
113•milliams•4h ago•24 comments

Gemini Diffusion

https://simonwillison.net/2025/May/21/gemini-diffusion/
672•mdp2021•12h ago•177 comments

The scientific “unit” we call the decibel

https://lcamtuf.substack.com/p/decibels-are-ridiculous
369•Ariarule•9h ago•240 comments

Show HN: Curved Space Shader in Three.js (via 4D sphere projection)

https://github.com/bntre/CurvedSpaceShader
17•bntr•2h ago•5 comments

Showh HN: SQLite JavaScript - extend your database with JavaScript

https://github.com/sqliteai/sqlite-js
4•marcobambini•5m ago•0 comments

Four years of sight reading practice

https://sandrock.co.za/carl/2025/05/four-years-of-sight-reading-pracice/
38•chthonicdaemon•3d ago•14 comments

Why does Debian change software?

https://blog.liw.fi/posts/2025/why-debian-changes/
186•tapanjk•6h ago•105 comments

Robert Musil Forgotten Plays Inspired His Greatest Work of Fiction

https://lithub.com/the-austrian-writer-whose-forgotten-plays-inspired-his-greatest-work-of-fiction/
4•DyslexicAtheist•2h ago•1 comments

Inigo Quilez: computer graphics, mathematics, shaders, fractals, demoscene

https://iquilezles.org/articles/
190•federicoponzi•4d ago•21 comments

Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

https://github.com/Kotlin/kotlin-lsp
124•todsacerdoti•10h ago•70 comments

Display any CSV file as a searchable, filterable, pretty HTML table

https://github.com/derekeder/csv-to-html-table
171•indigodaddy•12h ago•33 comments

Hotspot: Linux `perf` GUI for performance analysis

https://github.com/KDAB/hotspot
54•jez•2d ago•11 comments

Devstral

https://mistral.ai/news/devstral
599•mfiguiere•23h ago•125 comments

For algorithms, a little memory outweighs a lot of time

https://www.quantamagazine.org/for-algorithms-a-little-memory-outweighs-a-lot-of-time-20250521/
289•makira•17h ago•85 comments

How we made our optical character recognition (OCR) code more accurate

https://pieces.app/blog/how-we-made-our-optical-character-recognition-ocr-code-more-accurate
16•thunderbong•1d ago•14 comments

Getting a paper accepted

https://maxwellforbes.com/posts/how-to-get-a-paper-accepted/
155•stefanpie•12h ago•72 comments

A lost decade chasing distributed architectures for data analytics?

https://duckdb.org/2025/05/19/the-lost-decade-of-small-data.html
148•andreasha•3d ago•54 comments

Direct TLS can speed up your connections

https://marc-bowes.com/postgres-direct-tls.html
60•tanelpoder•7h ago•21 comments

CERN gears up to ship antimatter across Europe

https://arstechnica.com/science/2025/05/cern-gears-up-to-ship-antimatter-across-europe/
210•ben_w•2d ago•121 comments

Strengths and limitations of diffusion language models – sean goedecke

https://www.seangoedecke.com/limitations-of-text-diffusion-models/
11•rbanffy•3h ago•0 comments

Gemini figured out my nephew’s name

https://blog.nawaz.org/posts/2025/May/gemini-figured-out-my-nephews-name/
154•BeetleB•3d ago•81 comments

ITXPlus: A ITX Sized Macintosh Plus Logicboard Reproduction

https://68kmla.org/bb/index.php?threads/itxplus-a-itx-sized-macintosh-plus-logicboard-reproduction.49715/
103•zdw•15h ago•24 comments

Collaborative Text Editing Without CRDTs or OT

https://mattweidner.com/2025/05/21/text-without-crdts.html
252•samwillis•20h ago•67 comments

Show HN: Forge – Secure, Multi-Tenant GitHub Actions Runners on K8s or EC2

https://github.com/cisco-open/forge
6•ebrilhante•3d ago•4 comments

Animated Factorization (2012)

http://www.datapointed.net/visualizations/math/factorization/animated-diagrams/
261•miniBill•22h ago•56 comments

Rocky Linux 10 Will Support RISC-V

https://rockylinux.org/news/rockylinux-support-for-riscv
158•fork-bomber•16h ago•95 comments

OpenAI to buy AI startup from Jony Ive

https://www.bloomberg.com/news/articles/2025-05-21/openai-to-buy-apple-veteran-jony-ive-s-ai-device-startup-in-6-5-billion-deal
763•minimaxir•20h ago•1039 comments

LLM function calls don't scale; code orchestration is simpler, more effective

https://jngiam.bearblog.dev/mcp-large-data/
249•jngiam1•20h ago•88 comments

An upgraded dev experience in Google AI Studio

https://developers.googleblog.com/en/google-ai-studio-native-code-generation-agentic-tools-upgrade/
173•meetpateltech•19h ago•100 comments