@dpuse/dpuse-shared 1.0.225 → 1.0.226

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 CHANGED
@@ -270,10 +270,10 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
270
270
 
271
271
  | Chunk/Module/File | Composition |
272
272
  | :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
273
- | **dist/dpuse-shared.es.js** | 69.1 kB · gzip 16.7 kB · 100.0% of the build |
274
- |     src → index.ts + 18 more | `███████████████░░░░░` 74.4% · 51.4 kB |
275
- |         ↳ index.ts | `▒▒▒▒▒▒▒▒▒░░░░░░░░░░░` 45.4% · 31.4 kB |
276
- |         ↳ objectParsing.ts | `▒▒▒░░░░░░░░░░░░░░░░░` 14.2% · 9.8 kB |
273
+ | **dist/dpuse-shared.es.js** | 69.4 kB · gzip 16.8 kB · 100.0% of the build |
274
+ |     src → index.ts + 18 more | `███████████████░░░░░` 74.5% · 51.6 kB |
275
+ |         ↳ index.ts | `▒▒▒▒▒▒▒▒▒░░░░░░░░░░░` 45.2% · 31.4 kB |
276
+ |         ↳ objectParsing.ts | `▒▒▒░░░░░░░░░░░░░░░░░` 14.5% · 10.1 kB |
277
277
  |         ↳ tableSchema.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.9% · 2.0 kB |
278
278
  |         ↳ delimitedText.ts | `░░░░░░░░░░░░░░░░░░░░` 2.3% · 1.6 kB |
279
279
  |         ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% · 1.3 kB |
@@ -2282,31 +2282,37 @@ async function gt(e) {
2282
2282
  stopSignal: h ? i.stopSignal : void 0,
2283
2283
  structurePath: i.structurePath,
2284
2284
  valueDelimiterId: l
2285
- }), v = await _.next();
2286
- for (; v.done !== !0;) {
2285
+ }), v = 0, y = 0, b = async () => {
2286
+ let e = performance.now(), t = await _.next();
2287
+ return v += performance.now() - e, t;
2288
+ }, x = await b();
2289
+ for (; x.done !== !0;) {
2287
2290
  try {
2288
- f.auditRecords(v.value.records), r(v.value.records.length, g.byteCount());
2291
+ let e = performance.now();
2292
+ f.auditRecords(x.value.records), y += performance.now() - e, r(x.value.records.length, g.byteCount());
2289
2293
  } catch (e) {
2290
2294
  throw await _.throw(e), e;
2291
2295
  }
2292
- v = await _.next();
2296
+ x = await b();
2293
2297
  }
2294
- let y = v.value, { columnConfigs: b, hasHeaders: x } = f.completeAudit();
2298
+ let S = x.value, C = m.waitDuration(), { columnConfigs: w, hasHeaders: T } = f.completeAudit();
2295
2299
  return {
2296
2300
  contentAuditConfig: {
2297
2301
  asAt: u,
2298
2302
  byteCount: g.byteCount(),
2299
- columns: b,
2300
- commentLineCount: y.commentLineCount,
2303
+ columns: w,
2304
+ commentLineCount: S.commentLineCount,
2301
2305
  duration: performance.now() - d,
2302
- emptyLineCount: y.emptyLineCount,
2303
- invalidFieldLengthCount: y.nonUniformRecordCount,
2304
- isComplete: y.isComplete ?? g.isComplete(),
2305
- lineCount: y.lineCount,
2306
- recordCount: Math.max(0, y.recordCount - +!!x),
2307
- sourceWaitDuration: m.waitDuration()
2306
+ emptyLineCount: S.emptyLineCount,
2307
+ invalidFieldLengthCount: S.nonUniformRecordCount,
2308
+ isComplete: S.isComplete ?? g.isComplete(),
2309
+ lineCount: S.lineCount,
2310
+ recordCount: Math.max(0, S.recordCount - +!!T),
2311
+ sourceWaitDuration: C,
2312
+ parseDuration: Math.max(0, v - C),
2313
+ columnAuditDuration: y
2308
2314
  },
2309
- hasHeaders: x
2315
+ hasHeaders: T
2310
2316
  };
2311
2317
  }
2312
2318
  async function _t(e) {