@rainbow-o23/n7 0.1.17 → 0.1.19
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/README.md +30 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -232,4 +232,33 @@ jsContext: {
|
|
|
232
232
|
if it is a static link, it is not affected,
|
|
233
233
|
- If the `HTML` syntax is used in the header or footer, it may result in the issue of "Word found unreachable content" when opening the
|
|
234
234
|
document in Word. Additionally, HTML cannot display correctly and may also affect other content in the header and footer,
|
|
235
|
-
- Odd and even row background colors are currently not supported.
|
|
235
|
+
- Odd and even row background colors are currently not supported.
|
|
236
|
+
|
|
237
|
+
## Performance Benchmark
|
|
238
|
+
|
|
239
|
+
This benchmark was conducted on the following hardware and environment:
|
|
240
|
+
|
|
241
|
+
- CPU: 2.6 GHz 6-Core Intel Core i7,
|
|
242
|
+
- Memory: 64 GB 2667 MHz DDR4,
|
|
243
|
+
- OS: macOS Sonoma 14.2.1,
|
|
244
|
+
- MySQL: 8.2.0,
|
|
245
|
+
- NodeJS: v18.19.0,
|
|
246
|
+
- NPM: v10.2.3.
|
|
247
|
+
|
|
248
|
+
With scenario:
|
|
249
|
+
|
|
250
|
+
- Flow:
|
|
251
|
+
- Load template from database,
|
|
252
|
+
- Print file,
|
|
253
|
+
- Write printed file to database,
|
|
254
|
+
- Return to client,
|
|
255
|
+
- Template size: 258kb, 9 pages,
|
|
256
|
+
- No command inside,
|
|
257
|
+
- Output size: 304kb, 9 pages.
|
|
258
|
+
|
|
259
|
+
| # | Item | Max CPU Usage | Max Memory Usage | Avg. Response Time (ms) |
|
|
260
|
+
|---|--------------------------------------|---------------|------------------|-------------------------|
|
|
261
|
+
| 1 | 100 iterations, single thread | 120% | 450M | 267 |
|
|
262
|
+
| 2 | 100 iterations, 4 concurrent threads | 130% | 650M | 236 |
|
|
263
|
+
| 3 | 100 iterations, 8 concurrent threads | 140% | 750M | 231 |
|
|
264
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainbow-o23/n7",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "o23
|
|
3
|
+
"version": "0.1.19",
|
|
4
|
+
"description": "o23 word print",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"url": "https://github.com/InsureMO/rainbow-o23/issues"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@rainbow-o23/n3": "0.1.
|
|
25
|
-
"@rainbow-o23/n4": "0.1.
|
|
24
|
+
"@rainbow-o23/n3": "0.1.19",
|
|
25
|
+
"@rainbow-o23/n4": "0.1.19",
|
|
26
26
|
"docx-templates": "^4.11.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/core": "^7.
|
|
30
|
-
"@babel/preset-env": "^7.
|
|
31
|
-
"@babel/preset-typescript": "^7.
|
|
29
|
+
"@babel/core": "^7.23.9",
|
|
30
|
+
"@babel/preset-env": "^7.23.9",
|
|
31
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
32
32
|
"@rollup/plugin-babel": "^6.0.4",
|
|
33
33
|
"@rollup/plugin-eslint": "^9.0.3",
|
|
34
34
|
"@types/events": "^3.0.1",
|