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.
Files changed (2) hide show
  1. package/README.md +21 -15
  2. 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/17697547058/job/50298916576) a step "Publish to npm"
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) | 45.58 | 0.01 | 98543 |
46
- | csv-parse (sync) | 18.11 | 0.03 | 39155 |
47
- | papaparse (sync) | 28.03 | 0.02 | 60596 |
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) | 46.80 | 0.01 | 101185 |
54
- | csv-parse (sync) | 18.92 | 0.02 | 40900 |
55
- | papaparse (sync) | 28.38 | 0.02 | 61363 |
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) | 70.07 | 0.01 | 151485 |
63
- | papaparse (async/stream) | 21.58 | 0.02 | 46646 |
64
- | neat-csv (async/promise) | 9.77 | 0.05 | 21126 |
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) | 25.23 | 0.02 | 54545 |
72
- | papaparse (async/stream) | 22.49 | 0.02 | 48622 |
73
- | neat-csv (async/promise) | 9.91 | 0.05 | 21428 |
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.51",
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
- "but-csv": "^2.0.14",
30
- "d3-dsv": "^3.0.1",
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": "^20.19.9",
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",