stillflow.engine 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,8 +24,13 @@ Also I think that **explicit reactivity is better than implicit reactivity**. So
24
24
 
25
25
  ## Benchmarks
26
26
 
27
- **Stillflow** performs within *7,5-9% of VanillaJS* in the Krause benchmark on my notepad, while providing a full transactional state model. I run benchmark on JSX and DOM versions of my framework. You can see results below.
28
- ![Benchmark scores of Stillflow](images/3.png)
27
+ **Stillflow** performs within *3-4% of VanillaJS* in the Krause benchmark on my notepad, while providing a full transactional state model. I run benchmark on JSX and DOM versions of my framework. You can see results below. I explicitly removed benchmark-specific optimizations from the data generation to ensure a completely fair comparison.
28
+
29
+ *Note 1*: In specific operations like `remove row`, **Stillflow** is up to 1.8-2x than *VanillaJS* due to its delta-based collection and lazy deletion.
30
+
31
+ *Note 2*: The results of jsx version of **Stillflow** is done without micro- or macro- tasks.
32
+
33
+ ![Benchmark scores of Stillflow](images/1.png)
29
34
 
30
35
  ## Quick Start
31
36
 
@@ -87,7 +92,7 @@ function TodoItem() {
87
92
  function App() {
88
93
  return (
89
94
  <jsxdom.div>
90
- <jsxdom.input sf:value={(context: TodoState) => context.input} on: change={change} />
95
+ <jsxdom.input sf:value={(context: TodoState) => context.input} on:change={change} />
91
96
  <jsxdom.button on:click={add}>
92
97
  Add
93
98
  </jsxdom.button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stillflow.engine",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A headless, transaction-based UI engine with AOT compilation.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",