An ultra lightweight, fast and memory efficient Pomodoro technique app without unnecessary bloat.
- Timer with adjustable Focus, Short/Long breaks
- Timer sound effects and notifications
- Todo list with check toggle, edit and delete (limited to 10 Todo's)
- Service Worker and PWA support
The idea was to create App with Pomodoro timer (and todo list) that will fit in single, less than 10 kB html file, and takes advantage of various API's to increase app speed and reduce memory footprint to minimum.
- Vite Single File plugin to combine js and css bundles into html file
- Custom Vite plugins to:
- Add extra minification to styling by reducing selector names
- Allow call js functions directly from html markup
- Typed Arrays to keep timer and todo state
- Web Workers to run timer in seprate thread
- ArrayBuffers and SharedArrayBuffers (with Atomics) to store and exchange data with efficiency
- Unicode symbols, svgs, base64 images and AudioWorklet to inline images and media
- Pure for/while loops for rendering and custom parse logic to localStorage sync
- Service Worker to unlock Notification API on mobile devices
List of apps tested:
- (PP) - Pure Pomodoro
- (PF) - Pomofocus - https://pomofocus.io/
- (PT) - Pomodoro Timer - https://pomodorotimer.online/
- (PTv2) - Pomodoro Timer Beta - https://app.pomodorotimer.online/
List of Browsers used:
- (FF) - Mozilla Firefox for Linux Mint - Version 147.0.4 (64-bit)
- (Chrome) - Chrome (Linux Mint) - Version 145.0.7632.109 (Official Build) (64-bit)
Tests performed on 01.03.2026
FF
| App / Memory snapshot | PP | PF | PT | PTv2 |
|---|---|---|---|---|
| Page load / App init | 0.63 MB | 31.47 MB | 13.61 MB | 12.15 MB |
| After full Focus time | 0.72 MB | 31.21 MB | 11.35 MB | 10.33 MB |
| 10 Todos added, timer running | 1.31 MB | 38.76 MB | 15.26 MB | 12.55 MB |
| Lowest usage | 0.62 MB | 26.72 MB | 11 MB | 9.40 MB |
| Highest usage | 1.31 MB | 39.77 MB | 15.26 MB | 12.55 MB |
Chrome
| App / Memory snapshot | PP | PF | PT | PTv2 |
|---|---|---|---|---|
| Page load / App init | 1.5 MB | 28.8 MB | 12.6 MB | 11.5 MB |
| After full Focus time | 1.7 MB | 36.5 MB | 12.8 MB | 12.9 MB |
| 10 Todos added, timer running | 2.2 MB | 40.8 MB | 16 MB | 14.3 MB |
| Lowest usage | 1.5 MB | 28.8 MB | 12.6 MB | 11.3 MB |
| Highest usage | 2.2 MB | 41 MB | 16 MB | 14.3 MB |
FF (private window - tracking files blocked)
| App / Transferred Data | PP | PF | PT | PTv2 |
|---|---|---|---|---|
| HTML | 7.55 kB | 3.97 kB | 24.01 kB | 3.23kB |
| CSS | --- | 3.18 kB | --- | --- |
| JS | --- | 1.03 MB | 278.96 kB | 355.75 kB |
| XHR | --- | 7.89 kB | --- | --- |
| Fonts | --- | 55.56 kB | --- | --- |
| Images | --- | 465.37 kB | 64.08 kB | 599.96 kB |
| Media | --- | 4.92 MB | --- | --- |
| All | 7.55 kB | 6.48 MB | 357.06 kB | 958.94 kB |
Chrome (main window - no extensions added)
| App / Transferred Data | PP | PF | PT | PTv2 |
|---|---|---|---|---|
| HTML | 7.3 kB | 13.1 kB | 24.1 kB | 2.5 kB |
| CSS | --- | 2.9 kB | --- | --- |
| JS | --- | 1.18 MB | 590 kB | 592 kB |
| Fetch/XHR* | --- | 734 kB | 2.1 kB | 0.5 kB |
| Fonts | --- | 54.9 kB | --- | --- |
| Images | --- | 31.2 kB | 54.5 kB | 523 kB |
| Media | --- | 4.91 MB | --- | --- |
| All | 7.3 kB | 6.9 MB | 685 kB | 1.1 MB |
* Chrome Fetch/XHR tab includes some media files
For me, creating this app was a fun challenge and proof, that some kind of memory management is possible in JS world and might be a true future of creating web apps that does not use hundreds of MB of RAM just to show some interactive views.
Although, until some good, abstracted library will solve managing ArrayBuffer-based state management with ease, the pure JS way of achieving that might be nearly impossible in production-grade applications.
Also, don't use Unicode symbols if you want to have cross-browser same-sized and same-looking icons - it's nightmare.
As always - LOL
