@trebired/logger 2.6.0 → 2.6.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/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to `@trebired/logger` will be documented here.
4
4
 
5
5
  This project follows semantic versioning once published.
6
6
 
7
+ ## 2.6.1
8
+
9
+ ### Fixed
10
+
11
+ - Partition scanning is roughly 65x faster. `parse_log_name()` compiled its filename regex on every call, and that call runs once per file, so a store with tens of thousands of small log files spent nearly all of its scan time rebuilding the same pattern. The regex is now compiled once. Scanning a real 18-partition store of 41,128 files went from 23.8s to 0.37s, with identical totals and last-activity timestamps. Anything that reads partition metadata pays this cost — `getPartitionInfo()` triggers a full scan, so application boots that inspect partitions were stalling for tens of seconds.
12
+ - Row counting no longer allocates a `String` per line, walking the bytes in a fixed buffer instead, and the per-file metadata and row-count work inside a partition now runs across the thread pool. Both are minor next to the regex fix but keep large partitions cheap.
13
+
7
14
  ## 2.6.0
8
15
 
9
16
  ### Added
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/logger",
11
- "version": "2.6.0",
11
+ "version": "2.6.1",
12
12
  "description": "Local-first JSONL logger with durable writes, partitions, export archives, native storage acceleration, redaction, query helpers, and browser runtimes.",
13
13
  "type": "module",
14
14
  "private": false,