fmeringdal / rust-rrule

Rust crate for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://docs.rs/rrule
Apache License 2.0
72 stars 18 forks source link

The "benches" branch #86

Open omid opened 2 years ago

omid commented 2 years ago

Hello @fmeringdal :)

Any plan on finishing/merging https://github.com/fmeringdal/rust-rrule/tree/feat/benches branch?

fmeringdal commented 2 years ago

Not in the near future. Is it something you need or want to work on? :)

omid commented 2 years ago

It's something I need. I actually wanted to think and maybe start https://github.com/fmeringdal/rust-rrule/issues/67 ticket, but without a benchmark, it doesn't make sense.

fmeringdal commented 2 years ago

I see. Unfortunately, I wont have time to add a benchmarking suite to the repo in the near future. Feel free to implement #67 if you want to, probably won't be able to measure a statistical speedup, but maybe flamegraph can give hints that the library is spending less time on string operations.