Skip to content

Commit fdcb8b7

Browse files
committed
learn/benefits.Speed: improve the intro text #6895
1 parent 90322f2 commit fdcb8b7

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

learn/benefits/Speed.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
The Neo.mjs web-worker processes are automatically run in parallel, on separate CPU cores.
2-
3-
By contrast, other JavaScript frameworks run in a single thread, so all business logic,
4-
data handling, and DOM rendering compete for CPU resources.
5-
6-
This means Neo.mjs applications run and render faster. This is
7-
particularly beneficial for processor- and data-intensive applications,
8-
and applications that need to rapidly update what's viewed. In testing, Neo.mjs applications
9-
easily apply over 20,000 DOM updates per second.
10-
11-
If the default four threads aren't enough, you're free to launch additional web-worker threads
12-
to run other specialized logic.
1+
The Neo.mjs architecture leverages web workers to run application logic, data processing,
2+
and even parts of the rendering pipeline in parallel, on separate CPU cores.
3+
This offloads heavy computations from the main thread, ensuring the UI remains responsive.
4+
5+
By contrast, most other JavaScript frameworks operate predominantly within a single main thread.
6+
This means all business logic, data handling, and DOM rendering compete for the same CPU resources,
7+
often leading to a "janky" or unresponsive user interface during intensive operations.
8+
9+
This multi-threaded approach allows Neo.mjs applications to run and render significantly faster.
10+
This is particularly beneficial for processor- and data-intensive applications, as well as those
11+
requiring rapid UI updates. In internal testing, Neo.mjs applications have consistently
12+
demonstrated the ability to easily apply over 20,000 DOM updates per second without
13+
compromising user experience.
14+
15+
Should your application demand even greater parallel processing power, Neo.mjs provides the
16+
flexibility to launch additional web worker threads to handle specialized logic or
17+
further distribute computational load.
1318

1419

1520
<details><summary>Example</summary>

0 commit comments

Comments
 (0)