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)
  • Power on to usableLock screen / Top Menu
    1.22 s
    8.68 s

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)
  • At restJust started, nothing open
    13.5 MiB
    4.9 MiB
  • Apps in the backgroundMedian after each app
    10.7 MiB
    4.8 MiB
  • Lowest seenDuring the app runs
    9.1 MiB
    3.4 MiB

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)GlazeWindows CE
At rest13,8005,068
Apps in the background, median10,9824,890
Lowest seen9,2963,496
Program memory available15,6567,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)
  • Calculator
    25 ms
    236 ms
  • Notes
    15 ms
    126 ms
  • Calendar
    22 ms
    387 ms
  • Clock
    39 ms
    153 ms
  • Settings
    142 ms
    256 ms
  • Browser
    24 ms
    2,018 ms

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)
  • Calculator
    0 ms
    220 ms
  • Notes
    0 ms
    55 ms
  • Calendar
    0 ms
    204 ms
  • Clock
    0 ms
    155 ms
  • Settings
    0 ms
    42 ms
  • Browser
    0 ms
    635 ms
Show both as a table
MillisecondsGlaze firstWindows CE firstGlaze againWindows CE again
Calculator252360220
Notes15126055
Calendar223870204
Clock391530155
Settings142256042
Browser242,0180635

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)
  • Calculator
    49 ms
    500 ms
  • Notes
    36 ms
    305 ms
  • Calendar
    44 ms
    931 ms
  • Clock
    73 ms
    403 ms
  • Settings
    252 ms
    983 ms
  • Browser
    61 ms
    3,609 ms

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
MillisecondsGlaze firstWindows CE firstGlaze againWindows CE again
Calculator495000500
Notes363050142
Calendar449310500
Clock734030402
Settings2529830108
Browser613,609511,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.py with 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 is GlobalMemoryStatus.
  • 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.