Skip to content
/ ress Public

A Javascript RSS parser library for performance purposes, implemented using Wasm.

License

Notifications You must be signed in to change notification settings

sdttttt/ress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 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)

About

A Javascript RSS parser library for performance purposes, implemented using Wasm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published