leptris 1.9.423.0-arm-linux → 1.9.424.0-arm-linux
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.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/leptris/version.rb +1 -1
- data/lib/libleptris.so +0 -0
- data/vendor-src/README.md +1 -1
- data/vendor-src/libleptris/CHANGELOG.md +11 -0
- data/vendor-src/libleptris/CMakeLists.txt +1 -1
- data/vendor-src/libleptris/src/leptris/flat/direct_parse.c +9 -1
- data/vendor-src/libleptris/vcpkg.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62947512cd9b5a1e77520012561926780fb5cce36b087e07fbcec4affedb9edb
|
|
4
|
+
data.tar.gz: a24ed3d424da6b8bea535e2bba70acbf1adb41c055be9d8f04a084cf17757b7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d08ce99f1c36bd7510c75707c1d839ed58ac69b1c647851011aa3a4b311a91c356ad74121fe43910d8a995b6c64172fb861c21dd912a009abfe17e05e3e50ed7
|
|
7
|
+
data.tar.gz: 28bfff5b20c97901a7b2d402882c7ae39c996897f11b7da9ae42dd17593d835afd972e11b3fc7c8c477df8e7b85b9f710ff1b4ffe21409404437f83cf5badcb7
|
data/Rakefile
CHANGED
|
@@ -8,7 +8,7 @@ RSpec::Core::RakeTask.new(:spec)
|
|
|
8
8
|
# Pin for `rake compile` and the platform-gem builds. Keep in lockstep
|
|
9
9
|
# with .github/workflows/build.yml (which calls `rake compile`) and the
|
|
10
10
|
# CHANGELOG when libleptris releases.
|
|
11
|
-
LIBLEPTRIS_VERSION = "1.9.
|
|
11
|
+
LIBLEPTRIS_VERSION = "1.9.424"
|
|
12
12
|
# Vendored alongside libleptris for fn:normalize-unicode (TODO
|
|
13
13
|
# .restructure/20): built per platform with a RELOCATABLE @rpath
|
|
14
14
|
# install name, loaded by ffi.rb before libleptris so the
|
data/lib/leptris/version.rb
CHANGED
data/lib/libleptris.so
CHANGED
|
Binary file
|
data/vendor-src/README.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.9.424] - 2026-11-15
|
|
4
|
+
|
|
5
|
+
### Performance
|
|
6
|
+
|
|
7
|
+
- **direct-parse: the attribute face keeps its own frame** (leptris#2032, two levers). The CI-gated attrparse row moved on every platform: **macos −26% to a 0.96× win over pugixml, ubuntu-x86 −20% to 0.98×, ubuntu-arm −9% (1.20× → 1.09×)**. Lever 1 (#2041): `dp_add_attr_inline`'s 10-argument form overflowed arm64's 8-register window — `name_colon` plus a flags word spilled to the caller's frame; packing `len|hash<<32` and the two scan flags into scalars keeps every argument in a register. Lever 2 (#2046): LTO folded `dp_parse_attrs` into `direct_parse_internal`'s mega-frame, where gcc-13's arm64 register allocator spilled the loop's state (~7KB frame, the on-runner profile's dominant samples); `LEPTRIS_NOINLINE` keeps it in its own frame — the file's own `dp_parse_doctype` pattern. Both levers behavior-neutral; the full suite and the three-leg CI bench gates decided each.
|
|
8
|
+
|
|
9
|
+
### Tooling
|
|
10
|
+
|
|
11
|
+
- **perf-record harness on the CI arm runner** (branch `repro/2032-perf`): `perf record` + report + annotate artifacts under `perf_event_paranoid=1` with the generic linux-tools binary — the on-runner profile that localized both levers.
|
|
12
|
+
|
|
13
|
+
|
|
3
14
|
## [1.9.423] - 2026-11-15
|
|
4
15
|
|
|
5
16
|
### Fixed
|
|
@@ -1077,7 +1077,15 @@ static int dp_raw_attr(DParser* p, LeptrisElement elem,
|
|
|
1077
1077
|
static struct leptris_ns_cache* dp_ensure_cache(DParser* p,
|
|
1078
1078
|
LeptrisElement elem);
|
|
1079
1079
|
|
|
1080
|
-
|
|
1080
|
+
/* Deliberately noinline (the dp_parse_doctype pattern): under LTO
|
|
1081
|
+
* gcc-13 folded this into direct_parse_internal's mega-frame, and the
|
|
1082
|
+
* arm64 register allocator spilled the attr loop's state into a ~7KB
|
|
1083
|
+
* stack frame (the #2032 on-runner profile: ~13% of the attr face's
|
|
1084
|
+
* samples in prologue spill traffic). Own frame = own allocation —
|
|
1085
|
+
* the hot fields stay in registers; the call cost is one frame per
|
|
1086
|
+
* TAG, not per attribute. */
|
|
1087
|
+
static LEPTRIS_NOINLINE int dp_parse_attrs(DParser* p,
|
|
1088
|
+
LeptrisElement elem) {
|
|
1081
1089
|
/* Reset the per-element caches so dp_add_attr_inline and the
|
|
1082
1090
|
* xmlns wiring below can both run in O(1) per attr. */
|
|
1083
1091
|
p->current_elem_last_attr = NULL;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
|
|
3
3
|
"name": "leptris",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.424",
|
|
5
5
|
"description": "High-performance XML parser and XPath 1.0 engine in C (libleptris)",
|
|
6
6
|
"homepage": "https://github.com/leptris/leptris",
|
|
7
7
|
"license": "MIT",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: leptris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.424.0
|
|
5
5
|
platform: arm-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|