In this same vein, I recently published
serde_rustler, which tl;dr lets you serialize and deserialize Elixir terms within your Rust NIFs. To benchmark them, I transcode from Elixir term -> serde -> json string and vice versa, and compared it against the other JSON libraries I could find.
@michalmuskala can you explain why the
parallel option would distort the results, when in production you’d be running your app with load from other parts of your code?