Benchmarks & Methodology

Transparent, reproducible performance measurements. We believe in honest numbers with clear methodology—not marketing claims.

NitroOS RTOS Performance

Context switch time and interrupt latency are critical metrics for real-time systems. All measurements performed with optimizations enabled (-O2) and verified across multiple runs.

Context Switch Time NitroOS v5.3.0

TargetClockContext SwitchInterrupt Latency
Cortex-M4F @ 168 MHzSTM32F4071.8 µs0.9 µs
Cortex-M7 @ 480 MHzSTM32H7430.6 µs0.3 µs
Cortex-M3 @ 72 MHzSTM32F1034.2 µs2.1 µs
Cortex-M0+ @ 48 MHzSTM32G0718.5 µs4.3 µs

Measurement Methodology

Memory Footprint Minimal Configuration

ComponentFlash (ROM)RAM (Static)RAM per Task
NitroOS Kernel2.8 KB256 B64 B + stack
+ Mutex/Semaphore+0.8 KB+32 B/object-
+ Message Queue+1.2 KB+48 B/queue-
+ Software Timers+0.6 KB+24 B/timer-

NitroSIM Emulator Performance

NitroSIM achieves high-speed ARM Cortex-M emulation through hand-optimized x64 assembly and advanced JIT techniques.

Emulation Speed NitroSIM v6.1.1

Host CPUEmulated CoreMIPSCycles/Instruction
Intel i7-12700K @ 5.0 GHzCortex-M4F245 MIPS~20
AMD Ryzen 9 5900X @ 4.8 GHzCortex-M4F228 MIPS~21
Intel i5-10400 @ 4.3 GHzCortex-M4F178 MIPS~24
Apple M2 (Rosetta 2)Cortex-M4F165 MIPS~26
Benchmark Suite
Dhrystone 2.1
Test Duration
10 seconds
ISA Coverage
ARMv7E-M + FPv4
Peripheral Emulation
Disabled

Measurement Methodology

NitroFS File System Performance

Sequential read/write throughput measured on SPI NOR flash and SD card interfaces.

I/O Throughput NitroFS v1.0

StorageInterfaceSequential ReadSequential Write
W25Q128 NOR FlashSPI @ 50 MHz5.2 MB/s0.8 MB/s
W25Q128 NOR FlashQSPI @ 100 MHz18.5 MB/s2.1 MB/s
SD Card (Class 10)SDIO 4-bit @ 25 MHz22.0 MB/s9.5 MB/s
eMMC 5.1SDIO 8-bit @ 52 MHz85.0 MB/s45.0 MB/s

Test Conditions

Comparison with Alternatives

Fair comparisons require identical test conditions. These numbers reflect our best-effort recreation of published benchmarks.

RTOS Context Switch Comparison Cortex-M4F @ 168 MHz

RTOSContext SwitchFlashNotes
NitroOS1.8 µs2.8 KB100% assembly kernel
FreeRTOS 10.52.4 µs6.5 KBC implementation
Zephyr 3.43.1 µs8.2 KBC implementation
ThreadX 6.22.0 µs4.8 KBMixed C/ASM
Benchmark Disclaimer

Performance varies based on compiler, optimization level, configuration, and use case. Always benchmark with your actual workload. These results are provided for reference only and may not reflect performance in your specific application.

Reproduce Our Results

We believe in reproducible benchmarks. Contact us for access to our benchmark suite and detailed methodology documentation. All measurements can be independently verified.

Request benchmark access: benchmarks@nitrocortex.com

Related Resources