mausmark 0.7.0 → 0.7.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/README.md +17 -15
- package/RELEASE-NOTES.md +6 -0
- package/dist/mausmark.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,21 +93,23 @@ schemes and sanitize any raw HTML you choose to emit.
|
|
|
93
93
|
|
|
94
94
|
## Performance
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
throughput was:
|
|
99
|
-
|
|
100
|
-
| Input
|
|
101
|
-
|
|
|
102
|
-
| Moby-Dick (1.2 MB)
|
|
103
|
-
| Line-wrapped Moby-Dick
|
|
104
|
-
| Pro Git chapters
|
|
105
|
-
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
96
|
+
Built with Clang 22, the WebAssembly module in the npm package is 70.1 KiB
|
|
97
|
+
(30.7 KiB with gzip, 26.9 KiB with Brotli). On an Apple M3 Pro with
|
|
98
|
+
Node.js 26.3.1 and Bun 1.4.2, warmed source-to-AST throughput was:
|
|
99
|
+
|
|
100
|
+
| Input | Node (GB/s) | Bun (GB/s) |
|
|
101
|
+
| ------------------------ | ----------: | ---------: |
|
|
102
|
+
| Moby-Dick (1.2 MB) | 4.71 | 5.10 |
|
|
103
|
+
| Line-wrapped Moby-Dick | 3.30 | 4.19 |
|
|
104
|
+
| Pro Git (9 chapters) | 1.78 | 2.12 |
|
|
105
|
+
| curl docs (910 files) | 0.67 | 0.76 |
|
|
106
|
+
| tldr pages (5,519 files) | 0.47 | 0.55 |
|
|
107
|
+
|
|
108
|
+
The two Moby-Dick inputs and Pro Git use Markdown; curl and tldr use
|
|
109
|
+
CommonMark. Each figure is the median of five samples with preloaded
|
|
110
|
+
UTF-8 input and a reused parser arena. These timings exclude
|
|
111
|
+
initialization, input encoding and copying, snapshot copying, and
|
|
112
|
+
rendering.
|
|
111
113
|
|
|
112
114
|
## License
|
|
113
115
|
|
package/RELEASE-NOTES.md
CHANGED
package/dist/mausmark.wasm
CHANGED
|
Binary file
|