fitzgen / inlinable_string

An owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation.
http://fitzgen.github.io/inlinable_string/inlinable_string/index.html
Other
69 stars 11 forks source link

Fancy chart around inlinable_string and maps #9

Closed ArtemGr closed 6 years ago

ArtemGr commented 7 years ago

First, I'm going to learn to ggplot soon (cf). Second, I want an actual information regarding the current speed of promising map implementations (e.g. BTreeMap, OrderMap) with and without inlinable_string.

So I'd like to write a little program that would benchmark some map implementations, generating a plot that we could put in the inlinable_string README or something. (For example, https://github.com/facebook/zstd has this plot in the README: https://raw.githubusercontent.com/facebook/zstd/dev/doc/images/Cspeed4.png).

@fitzgen Nick, would it be okay to host that inlinable_string benchmarking script inside the inlinable_string repository?

fitzgen commented 7 years ago

host that inlinable_string benchmarking script inside the inlinable_string repository?

Yep, that sounds great! I'm all for reproducibility ;)

ArtemGr commented 7 years ago

Speaking of reproducibility, it would be nice to generate a sort of an ASCII chart by default, to make benchmark results accessible anywhere. Generating a ggplot script would be a secondary option then.

ArtemGr commented 6 years ago

Turns out I have lots of urgent stuff to do, so closing this one for now.