https://github.com/sdttttt/ress
A Javascript RSS parser library for performance purposes, implemented using Wasm.
https://github.com/sdttttt/ress
javascript npm parser rss wasm
Last synced: 6 months ago
JSON representation
A Javascript RSS parser library for performance purposes, implemented using Wasm.
- Host: GitHub
- URL: https://github.com/sdttttt/ress
- Owner: sdttttt
- License: unlicense
- Created: 2023-01-11T06:12:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T08:03:06.000Z (about 2 years ago)
- Last Synced: 2025-08-28T21:34:46.918Z (10 months ago)
- Topics: javascript, npm, parser, rss, wasm
- Language: Rust
- Homepage:
- Size: 1.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ress
This is a subproject of Ressu, responsible for the RSS/XML parse and process work. ress does not make network requests, but simply parses the text into structures.
xml parse code design mode comes from [iovxw/rssbot](https://github.com/iovxw/rssbot). provides excellent XML parsing extensibility.
- currently supports only rss2.0.
## Benchmark
> *The following data is from debug mode.*
### PC1
Browser: `Microsoft Edge 101.0.1210.39`
Hardware: `CPU: i7-12700H` `Mem: 32G`
from wasm_bindgen_test:
- It takes **446ms** to process about **3000 items**, each of which is about **2.5KB** in size. (data/JUMP_NS_ALL_RSS2.0.xml)
- It takes **16ms** to process about **100 items**, each of which is about **2.5kb** in size. (data/JUMP_PS5_ALL_RSS2.0.xml)
- It takes **67ms** to process about **1600 items**, each of which is about **0.5kb** in size. (data/QIDIAN_RSS2.0.xml)