cisv 0.0.51 → 0.0.60
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 +21 -15
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -36,41 +36,47 @@ $ docker run --rm \
|
|
|
36
36
|
## BENCHMARKS
|
|
37
37
|
|
|
38
38
|
Benchmarks comparison with existing popular tools,
|
|
39
|
-
cf pipeline you can check : (https://github.com/Sanix-Darker/cisv/actions/runs/
|
|
39
|
+
cf pipeline you can check : (https://github.com/Sanix-Darker/cisv/actions/runs/18422464917/job/52498590205) at step "Publish to npm".
|
|
40
40
|
|
|
41
41
|
### SYNCHRONOUS RESULTS
|
|
42
42
|
|
|
43
43
|
| Library | Speed (MB/s) | Avg Time (ms) | Operations/sec |
|
|
44
44
|
|--------------------|--------------|---------------|----------------|
|
|
45
|
-
| cisv (sync) |
|
|
46
|
-
| csv-parse (sync) | 18.
|
|
47
|
-
| papaparse (sync) |
|
|
45
|
+
| cisv (sync) | 71.10 | 0.01 | 153723 |
|
|
46
|
+
| csv-parse (sync) | 18.76 | 0.02 | 40563 |
|
|
47
|
+
| papaparse (sync) | 27.97 | 0.02 | 60467 |
|
|
48
|
+
| udsv (sync) | 69.81 | 0.01 | 150930 |
|
|
49
|
+
| d3-dsv (sync) | 98.11 | 0.00 | 212117 |
|
|
48
50
|
|
|
49
51
|
### SYNCHRONOUS RESULTS (WITH DATA ACCESS)
|
|
50
52
|
|
|
51
53
|
| Library | Speed (MB/s) | Avg Time (ms) | Operations/sec |
|
|
52
54
|
|--------------------|--------------|---------------|----------------|
|
|
53
|
-
| cisv (sync) |
|
|
54
|
-
| csv-parse (sync) |
|
|
55
|
-
| papaparse (sync) | 28.
|
|
56
|
-
|
|
55
|
+
| cisv (sync) | 104.58 | 0.00 | 226108 |
|
|
56
|
+
| csv-parse (sync) | 16.87 | 0.03 | 36482 |
|
|
57
|
+
| papaparse (sync) | 28.13 | 0.02 | 60807 |
|
|
58
|
+
| udsv (sync) | 69.29 | 0.01 | 149812 |
|
|
59
|
+
| d3-dsv (sync) | 96.32 | 0.00 | 208248 |
|
|
57
60
|
|
|
58
61
|
### ASYNCHRONOUS RESULTS
|
|
59
62
|
|
|
60
63
|
| Library | Speed (MB/s) | Avg Time (ms) | Operations/sec |
|
|
61
64
|
|--------------------------|--------------|---------------|----------------|
|
|
62
|
-
| cisv (async/stream) |
|
|
63
|
-
| papaparse (async/stream) | 21.
|
|
64
|
-
|
|
|
65
|
-
|
|
65
|
+
| cisv (async/stream) | 98.36 | 0.00 | 212662 |
|
|
66
|
+
| papaparse (async/stream) | 21.56 | 0.02 | 46609 |
|
|
67
|
+
| fast-csv (async/stream) | 10.09 | 0.05 | 21817 |
|
|
68
|
+
| neat-csv (async/promise) | 9.20 | 0.05 | 19898 |
|
|
69
|
+
| udsv (async/stream) | 51.74 | 0.01 | 111858 |
|
|
66
70
|
|
|
67
71
|
### ASYNCHRONOUS RESULTS (WITH DATA ACCESS)
|
|
68
72
|
|
|
69
73
|
| Library | Speed (MB/s) | Avg Time (ms) | Operations/sec |
|
|
70
74
|
|--------------------------|--------------|---------------|----------------|
|
|
71
|
-
| cisv (async/stream) |
|
|
72
|
-
| papaparse (async/stream) |
|
|
73
|
-
|
|
|
75
|
+
| cisv (async/stream) | 27.50 | 0.02 | 59460 |
|
|
76
|
+
| papaparse (async/stream) | 21.98 | 0.02 | 47513 |
|
|
77
|
+
| fast-csv (async/stream) | 10.05 | 0.05 | 21719 |
|
|
78
|
+
| neat-csv (async/promise) | 9.58 | 0.05 | 20711 |
|
|
79
|
+
| udsv (async/stream) | 53.26 | 0.01 | 115146 |
|
|
74
80
|
|
|
75
81
|
## INSTALLATION
|
|
76
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cisv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"description": "The csv parser on steroids.",
|
|
5
5
|
"author": "sanix<s4nixd@gmail.com>",
|
|
6
6
|
"main": "./build/Release/cisv.node",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"test:perf": "node test/performance.test.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"node-addon-api": "^5.0.0",
|
|
32
|
-
"node-gyp-build": "^4.8.4",
|
|
33
|
-
"udsv": "^0.7.3"
|
|
29
|
+
"node-addon-api": "^8.5.0",
|
|
30
|
+
"node-gyp-build": "^4.8.4"
|
|
34
31
|
},
|
|
35
32
|
"devDependencies": {
|
|
33
|
+
"but-csv": "^2.0.14",
|
|
34
|
+
"d3-dsv": "^3.0.1",
|
|
35
|
+
"udsv": "^0.7.3",
|
|
36
36
|
"@types/mocha": "^10.0.10",
|
|
37
|
-
"@types/node": "^
|
|
37
|
+
"@types/node": "^24.7.1",
|
|
38
38
|
"benchmark": "^2.1.4",
|
|
39
39
|
"chai": "^4.3.6",
|
|
40
40
|
"csv-parse": "^6.0.0",
|