You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: experimental/javascript-wc-indexeddb/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,23 @@ It utilizes custom elements and html templates to build reusable components.
8
8
In contrast to other workloads, this application uses an updated set of css rules and an optimized dom structure to ensure the application follows best practices in regards to accessibility.
9
9
10
10
### Benchmark steps
11
-
In contrast to other versions of the todoMVC workload, this one only shows 10 todo items at a time.
11
+
12
+
In contrast to other versions of the todoMVC workload, this one only shows 10 todo items at a time.
12
13
13
14
#### Add 100 items.
15
+
14
16
All the items are added to the DOM and to the database, it uses CSS to show only 10 of the items on screen.
15
17
16
18
The measured time stops when the last item has been added to the DOM, it doesn't measure the time spent to complete the database update.
17
19
18
20
#### Complete 100 items.
21
+
19
22
The benchmark runs a loop of 10 iterations. On each iteration 10 items are marked completed (in the DOM and in the database), and the "Next page" button is clicked. When moving to the next page the items in the "current page" are deleted from the DOM.
20
23
21
24
The measured time stops when the last item has been marked as completed, it doesn't measure the time spent to complete the database update.
22
25
23
26
#### Delete 100 items.
27
+
24
28
The benchmarks runs a loop of 10 iterations. On each iteration the 10 items in the current page are deleted (from the DOM and the database), and the "Previous page" button is clicked.
25
29
26
30
When moving to the previous page the previous 10 items are loaded from the database, this is included in the measured time.
0 commit comments