diff --git a/lib/masto-id-convert/README.md b/lib/masto-id-convert/README.md index 3d5bde5e9..66b06b34f 100644 --- a/lib/masto-id-convert/README.md +++ b/lib/masto-id-convert/README.md @@ -8,15 +8,18 @@ The unix timestamp is preserved as-is, the 2-bytes sequence is stretched out via ## Performance -Tested inside a WSL2 installation on a Ryzen 5 3600X: +Tested inside a NixOS installation on a Ryzen 7 7840U: ```text -process 110368129515784116 - time: [16.675 ns 16.822 ns 17.037 ns] - change: [-1.2226% -0.3915% +0.4911%] (p = 0.37 > 0.05) +Timer precision: 20 ns +process fastest │ slowest │ median │ mean │ samples │ iters +├─ process ASCII │ │ │ │ │ +│ ╰─ 110368129515784116 20.82 ns │ 192 ns │ 20.98 ns │ 24.25 ns │ 100 │ 12800 +╰─ process integer │ │ │ │ │ + ╰─ 110368129515784116 14.13 ns │ 17.18 ns │ 14.17 ns │ 14.2 ns │ 100 │ 25600 ``` -Processing a single Mastodon snowflake takes ~17ns +Processing a single Mastodon snowflake takes ~14ns ## License @@ -24,5 +27,5 @@ Processing a single Mastodon snowflake takes ~17ns ### Contribution -Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, +Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.