Glaze vs Windows CE
How Glaze compares with the Windows CE 3.0 the Casio BE-300 shipped with, on the same machine: how long each takes to start, how much of the 16 MiB of RAM it leaves free, and how quickly it opens comparable apps.
Measured in the BE-300 emulator, both systems the same way, . App launches were also measured on a real BE-300; see how it was measured.
At a glance
Power on to usable
1.2 s
Windows CE: 8.7 s
7× faster
Free memory at rest
13.5 MiB
Windows CE: 4.9 MiB
2.7× as much
Opening an app (median)
24.5 ms
Windows CE: 246 ms
10× sooner
Starting up
From power on (the emulator starting, so the boot ROM and boot loader count too) until the lock screen or Windows CE's Top Menu is up. Shorter is better.
- Glaze
- Windows CE 3.0 (stock)
A cold Windows CE boot also resets itself once and then asks you to align the screen and set the time. Neither is counted: the reset's extra pass is left out and the clock stops when the Top Menu's shell starts.
Memory
Free RAM out of the BE-300's 16 MiB. Longer is better. Glaze runs its system from compressed pages it loads as needed, so most of the RAM is left for apps.
- Glaze
- Windows CE 3.0 (stock)
Windows CE keeps its 6.4 MiB system image in RAM and divides the rest between program memory (7.2 MiB) and the object store for files (2.3 MiB), so programs never see more than 7.2 MiB. Glaze keeps up to four apps in the background at once; Windows CE was measured with one.
Show as a table
| Free memory (KiB) | Glaze | Windows CE |
|---|---|---|
| At rest | 13,800 | 5,068 |
| Apps in the background, median | 10,982 | 4,890 |
| Lowest seen | 9,296 | 3,496 |
| Program memory available | 15,656 | 7,400 |
Opening apps
The first time each app opens after a boot, until its first screen is up. Shorter is better. Each Glaze app is paired with the Windows CE app that does the same job; Settings is paired with Control Panel and Browser with Casio's Internet.
- Glaze
- Windows CE 3.0 (stock)
Opening an app again while it is in the background. Glaze resumes the suspended app, which measures 0 ms at millisecond resolution; Windows CE starts the program again, and some apps (Calculator, Clock, Internet) run a second copy.
- Glaze
- Windows CE 3.0 (stock)
Show both as a table
| Milliseconds | Glaze first | Windows CE first | Glaze again | Windows CE again |
|---|---|---|---|---|
| Calculator | 25 | 236 | 0 | 220 |
| Notes | 15 | 126 | 0 | 55 |
| Calendar | 22 | 387 | 0 | 204 |
| Clock | 39 | 153 | 0 | 155 |
| Settings | 142 | 256 | 0 | 42 |
| Browser | 24 | 2,018 | 0 | 635 |
On a real BE-300
The same apps opened the first time on a real BE-300, measured the same way over the sync cable, median of three runs. Glaze takes a median of 55 ms, Windows CE 716 ms: 13× sooner. Both systems take about twice as long as in the emulator.
- Glaze
- Windows CE 3.0 (stock)
Here Glaze was started from Windows CE into RAM with GlazeBoot, which keeps its system files and a 6.5 MiB RAM disk in memory, so its free memory isn't comparable and isn't shown. For the same reason the Browser had to restart when it was opened again (51 ms). Windows CE's free memory matched the emulator's: 5,128 KiB at rest. Start-up wasn't timed on the device.
Show as a table, with opening again
| Milliseconds | Glaze first | Windows CE first | Glaze again | Windows CE again |
|---|---|---|---|---|
| Calculator | 49 | 500 | 0 | 500 |
| Notes | 36 | 305 | 0 | 142 |
| Calendar | 44 | 931 | 0 | 500 |
| Clock | 73 | 403 | 0 | 402 |
| Settings | 252 | 983 | 0 | 108 |
| Browser | 61 | 3,609 | 51 | 1,342 |
How it was measured
- Where: the be300 emulator (1731cc7), headless, at its default speed of 166 million instructions a second, close to the BE-300's VR4131 at 166 MHz. It doesn't model cache contents or flash timing exactly, so a real BE-300 will differ.
- Glaze: Glaze OS 1.3 (source 81fc6d1), measured by
tests/bench.py: a scripted unlock, then each app tapped on the home screen, opened again after Home. App times run from the tap to the app's first frame. - Windows CE: the BE-300's Windows CE 3.0 factory image, measured by
tests/bench_ce.pywith a small probe (wince/ce_bench) that Windows CE starts from a CompactFlash card. It starts each app and times it until the app's window is in front and its message loop answers. Free memory isGlobalMemoryStatus. - Runs: every number is the median of three cold boots from a fresh copy of each system's flash. Boot times are wall-clock seconds; everything else is the guest's own clock.
- On the device: a real BE-300 over its USB sync cable. Windows CE ran the same probe from its flash disk; Glaze was started into RAM from Windows CE with GlazeBoot and given the same taps as in the emulator.
- Not compared: waking from sleep, battery life, and start-up and memory on the device.
Details, commands and the raw results are in docs/os/PERFORMANCE.md.