Skip to content

Commit cf43e40

Browse files
committed
Fix: Use correct library names (justjshtml, justhtml)
1 parent 576bf91 commit cf43e40

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/swift-justhtml/Documentation.docc/Benchmarking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Testing and benchmarking methodology for swift-justhtml.
44

55
## Overview
66

7-
Swift-justhtml includes comprehensive benchmarking infrastructure to measure parse time, memory usage, and compare performance against Python (html5lib) and JavaScript (parse5) implementations.
7+
Swift-justhtml includes comprehensive benchmarking infrastructure to measure parse time, memory usage, and compare performance against Python (justhtml) and JavaScript (justjshtml) implementations.
88

99
## Benchmark Suite
1010

Sources/swift-justhtml/Documentation.docc/Performance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Swift-justhtml performance characteristics and optimization history.
44

55
## Overview
66

7-
Swift-justhtml is a high-performance HTML5 parser that matches JavaScript (parse5) performance while maintaining full spec compliance. This document covers performance benchmarks, memory usage, and the optimization journey.
7+
Swift-justhtml is a high-performance HTML5 parser that matches JavaScript (justjshtml) performance while maintaining full spec compliance. This document covers performance benchmarks, memory usage, and the optimization journey.
88

99
## Performance Summary
1010

@@ -15,8 +15,8 @@ Swift-justhtml is a high-performance HTML5 parser that matches JavaScript (parse
1515
| Implementation | Total Time | Comparison |
1616
|----------------|-----------|------------|
1717
| **Swift** | 97ms | - |
18-
| JavaScript (parse5) | 99ms | 1.02x slower |
19-
| Python (html5lib) | 398ms | 4.1x slower |
18+
| JavaScript (justjshtml) | 99ms | 1.02x slower |
19+
| Python (justhtml) | 398ms | 4.1x slower |
2020

2121
*Benchmark: Parsing 2.5MB of HTML across 5 Wikipedia articles*
2222

0 commit comments

Comments
 (0)