@linkedrecords/browser 0.1.0 → 0.1.1
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.
- package/LICENSE +5 -657
- package/Readme.md +3 -3
- package/dist/browser_sdk.js +1 -1
- package/dist/browser_sdk.js.map +1 -1
- package/dist/server.js +3 -3
- package/dist/server.js.map +1 -1
- package/package.json +6 -7
package/Readme.md
CHANGED
|
@@ -25,8 +25,8 @@ The load test simulates a realistic document management scenario. Each **createD
|
|
|
25
25
|
|
|
26
26
|
The test simulates a multi-tenant environment with three users:
|
|
27
27
|
|
|
28
|
-
- **User 1** continuously creates documents (in the current test configuration
|
|
29
|
-
- **User 2** is the "user under test" who
|
|
28
|
+
- **User 1** continuously creates documents (in the current test configuration 5,000 iterations).
|
|
29
|
+
- **User 2** is the "user under test" who creates one document for every 10 documents User 1 creates, up to **300 documents**. At 300 documents, the creation of documents for this user stops.
|
|
30
30
|
- **User 3** creates documents occasionally (every 1,000 iterations)
|
|
31
31
|
|
|
32
32
|
The x-axis shows the **total number of documents in the database** (owned by all users combined). The y-axis shows the response time in milliseconds.
|
|
@@ -36,7 +36,7 @@ The x-axis shows the **total number of documents in the database** (owned by all
|
|
|
36
36
|
| Operation | Description |
|
|
37
37
|
|-----------|-------------|
|
|
38
38
|
| `createDocument` | Time to create a new document with all related attributes (content, config, comments, references, collaborator/reader groups). You can see that `createDocument` is independent of the total amount of documents in the database as well as the amount of documents visible to the user.|
|
|
39
|
-
| `fetchDocuments` | Time to fetch User 2's document list (up to
|
|
39
|
+
| `fetchDocuments` | Time to fetch User 2's document list (up to 300 documents they see). You can see that this time depends on the amount of documents visible to the user but not on the total amount of documents (the graph flattens around 3000 documents) |
|
|
40
40
|
| `fetchDocument` | Time to fetch a single document with all related data (content, comments, groups, activity state, references). You can see that this time depends on the amount of documents visible to the user but not on the total amount of documents (the graph flattens around 3000 documents) |
|
|
41
41
|
|
|
42
42
|
|