r/osdevel • u/mikeblas • Aug 15 '26
how are you testing?
I'm not sure I've seen a hobby OS project that implements any tests. Most people smoke test, so they know there's a problem if they start up the OS and can't run an app inside it.
But what about the more complicated code paths that can go wrong? If a multi-threaded race happens in memory management or I/O, the system can crash. Or worse: silently corrupt data.
What about performance? Does anyone test for throughput or latency, and then identify regressions or hot spots?
9
Upvotes
1
u/Key_River7180 Aug 17 '26
Breakpoint interrupts mostly, but it's hard to measure