mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-01-17 20:58:22 +01:00
update stats
This commit is contained in:
parent
2fbfc5e650
commit
0c900f88d9
14
README.md
14
README.md
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
A [TeuxDeux](https://teuxdeux.com) clone in plain HTML, CSS and JavaScript
|
A [TeuxDeux](https://teuxdeux.com) clone in plain HTML, CSS and JavaScript
|
||||||
(no build steps). It's fully animated and runs smoothly at 60 FPS
|
(no build steps). It's fully animated and runs smoothly at 60 FPS
|
||||||
with a total transfer size of **44KB** (unminified).
|
with a total transfer size of **50KB** (unminified).
|
||||||
|
|
||||||
**[Try it online →](https://raw.githack.com/morris/vanilla-todo/main/public/index.html)**
|
**[Try it online →](https://raw.githack.com/morris/vanilla-todo/main/public/index.html)**
|
||||||
|
|
||||||
@ -561,12 +561,12 @@ and Safari on iOS.
|
|||||||
|
|
||||||
_TODO Test more browsers and devices._
|
_TODO Test more browsers and devices._
|
||||||
|
|
||||||
A fresh load of the original TeuxDeux application transfers around **435 KB** and
|
A fresh load of the original TeuxDeux application transfers around **500 KB** and
|
||||||
finishes loading at around **1000 ms**, sometimes up to 2000ms
|
finishes loading at over **1000 ms**, sometimes up to 2000ms
|
||||||
(measured on 10/21 2020).
|
(measured in 05/2022).
|
||||||
Reloads finish at around **500ms**.
|
Reloads finish at around **500ms**.
|
||||||
|
|
||||||
With a transferred size of around **44 KB**, the vanilla application consistently
|
With a transferred size of around **50 KB**, the vanilla application consistently
|
||||||
loads in **300-500 ms**—not minified and with each script, stylesheet and icon
|
loads in **300-500 ms**—not minified and with each script, stylesheet and icon
|
||||||
served as an individual file. Reloads finish at **100-200ms**; again, not
|
served as an individual file. Reloads finish at **100-200ms**; again, not
|
||||||
optimized at all (with e.g. asset hashing/indefinite caching).
|
optimized at all (with e.g. asset hashing/indefinite caching).
|
||||||
@ -615,7 +615,7 @@ All source files (HTML, CSS and JS) combine to **under 2400 lines of code**,
|
|||||||
including comments and empty lines.
|
including comments and empty lines.
|
||||||
|
|
||||||
For comparison, prettifying the original TeuxDeux's minified JS application
|
For comparison, prettifying the original TeuxDeux's minified JS application
|
||||||
bundle yields **48787 LOC** (10/21 2020).
|
bundle yields **52678 LOC** (05/2022).
|
||||||
|
|
||||||
_To be fair, my implementation misses quite a few features from the original.
|
_To be fair, my implementation misses quite a few features from the original.
|
||||||
I suspect a fully equivalent clone to be well below 10000 LOC, though._
|
I suspect a fully equivalent clone to be well below 10000 LOC, though._
|
||||||
@ -803,7 +803,7 @@ Thanks!
|
|||||||
- Refactored for ES2020
|
- Refactored for ES2020
|
||||||
- Refactored for event-driven communication exclusively
|
- Refactored for event-driven communication exclusively
|
||||||
- Moved original ES5-based version of the study to [/es5](./es5)
|
- Moved original ES5-based version of the study to [/es5](./es5)
|
||||||
- Added assessment regarding library authoring
|
- Added assessment regarding library development
|
||||||
|
|
||||||
### 01/2021
|
### 01/2021
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# VANILLA TODO (ES5)
|
# VANILLA TODO (ES5)
|
||||||
|
|
||||||
_You are reading the ES5-based version of this document, originally published
|
_You are reading the ES5-based version of this document, originally published
|
||||||
in 2019. The [current version](https://github.com/morris/vanilla-todo) is
|
in 2020. The [current version](https://github.com/morris/vanilla-todo) is
|
||||||
based on modern JavaScript._
|
based on modern JavaScript._
|
||||||
|
|
||||||
A [TeuxDeux](https://teuxdeux.com) clone in plain HTML, CSS and JavaScript
|
A [TeuxDeux](https://teuxdeux.com) clone in plain HTML, CSS and JavaScript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user