moxml 0.5.115 → 0.5.116
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/README.adoc +18 -19
- data/lib/moxml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f05dc2b6886b453a5147c56e2936f0f0a15206c26037cf737792a1b906e8788e
|
|
4
|
+
data.tar.gz: 7bd3b318538208c43f2f71016ce207847ea3104681fef2d74aee754ec441204d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97324a4fe0132afed58055d5ed6a54933b4adb195933984ff1188c6f4276065cadbf3abd66f08beb2ba59a8eeb73c5ada02fd7e0a5f24e09f8fc7372852f4232
|
|
7
|
+
data.tar.gz: 69745ed2e541b46dad94148ddc0c8ac1240d4032f78250be494dfb01d98b83b6835fb5a28d9289967754ba4d40a8c942d5302f4066b8160526435ded02932738
|
data/README.adoc
CHANGED
|
@@ -239,7 +239,7 @@ libleptris has no first-class nodes for them.
|
|
|
239
239
|
| Feature/Operation | Nokogiri | Oga | REXML | LibXML | Ox | HeadedOx | Leptris
|
|
240
240
|
|
|
241
241
|
| *Core Operations*
|
|
242
|
-
|
|
242
|
+
|
|
|
243
243
|
|
|
|
244
244
|
|
|
|
245
245
|
|
|
|
@@ -275,9 +275,8 @@ libleptris has no first-class nodes for them.
|
|
|
275
275
|
| ✅ Full
|
|
276
276
|
|
|
277
277
|
| *Element Operations*
|
|
278
|
-
|
|
279
278
|
|
|
|
280
|
-
|
|
279
|
+
|
|
|
281
280
|
|
|
|
282
281
|
|
|
|
283
282
|
|
|
|
@@ -321,9 +320,8 @@ libleptris has no first-class nodes for them.
|
|
|
321
320
|
| ✅ Full
|
|
322
321
|
|
|
323
322
|
| *Namespace Operations*
|
|
324
|
-
|
|
325
323
|
|
|
|
326
|
-
|
|
324
|
+
|
|
|
327
325
|
|
|
|
328
326
|
|
|
|
329
327
|
|
|
|
@@ -367,9 +365,8 @@ libleptris has no first-class nodes for them.
|
|
|
367
365
|
| ✅ Full
|
|
368
366
|
|
|
369
367
|
| *XPath Queries*
|
|
370
|
-
|
|
371
368
|
|
|
|
372
|
-
|
|
369
|
+
|
|
|
373
370
|
|
|
|
374
371
|
|
|
|
375
372
|
|
|
|
@@ -467,9 +464,8 @@ libleptris has no first-class nodes for them.
|
|
|
467
464
|
| ✅ All 27
|
|
468
465
|
|
|
469
466
|
| *Special Content*
|
|
470
|
-
|
|
471
467
|
|
|
|
472
|
-
|
|
468
|
+
|
|
|
473
469
|
|
|
|
474
470
|
|
|
|
475
471
|
|
|
|
@@ -513,9 +509,8 @@ libleptris has no first-class nodes for them.
|
|
|
513
509
|
| ⚠️ Value-object sidecar^8^
|
|
514
510
|
|
|
515
511
|
| *Performance*
|
|
516
|
-
|
|
517
512
|
|
|
|
518
|
-
|
|
513
|
+
|
|
|
519
514
|
|
|
|
520
515
|
|
|
|
521
516
|
|
|
|
@@ -658,7 +653,7 @@ puts doc.to_xml(indent: 2)
|
|
|
658
653
|
=== Performance versus nokogiri
|
|
659
654
|
|
|
660
655
|
CPU-time medians (1,000-record catalog, 20 iterations) through the
|
|
661
|
-
moxml adapter layer on both sides — moxml + leptris 1.9.
|
|
656
|
+
moxml adapter layer on both sides — moxml + leptris 1.9.314 vs
|
|
662
657
|
moxml + nokogiri:
|
|
663
658
|
|
|
664
659
|
[cols="2,1,4"]
|
|
@@ -666,31 +661,35 @@ moxml + nokogiri:
|
|
|
666
661
|
|Operation |leptris vs nokogiri |Notes
|
|
667
662
|
|
|
668
663
|
|parse
|
|
669
|
-
|3.
|
|
664
|
+
|3.0x
|
|
670
665
|
|Engine pool-carved parse
|
|
671
666
|
|
|
672
667
|
|serialize
|
|
673
|
-
|
|
|
668
|
+
|2.9x
|
|
674
669
|
|
|
|
675
670
|
|
|
676
671
|
|XPath
|
|
677
|
-
|
|
|
672
|
+
|40x
|
|
678
673
|
|Native compiled-eval seams
|
|
679
674
|
|
|
680
675
|
|walk + read (`.text`, `[]`)
|
|
681
|
-
|
|
|
676
|
+
|2.0x
|
|
682
677
|
|C klass-mint wrappers + wrapper read memos
|
|
683
678
|
|
|
684
679
|
|warm re-read
|
|
685
|
-
|2.
|
|
680
|
+
|2.1x
|
|
686
681
|
|The memo family — zero string allocation per node
|
|
687
682
|
|
|
688
683
|
|build (`add_element`)
|
|
689
|
-
|
|
|
684
|
+
|3.7x
|
|
690
685
|
|C-mint construction + bulk attributes
|
|
691
686
|
|
|
687
|
+
|build (Builder DSL)
|
|
688
|
+
|2.1x
|
|
689
|
+
|Markup-accumulating face — one crossing per subtree
|
|
690
|
+
|
|
692
691
|
|attribute pairs
|
|
693
|
-
|
|
|
692
|
+
|parity
|
|
694
693
|
|One C crossing, no Attribute objects
|
|
695
694
|
|===
|
|
696
695
|
|
data/lib/moxml/version.rb
CHANGED