{"id":18368523,"url":"https://github.com/slog-rs/perf","last_synced_at":"2025-06-21T21:37:16.580Z","repository":{"id":57667685,"uuid":"88697224","full_name":"slog-rs/perf","owner":"slog-rs","description":" Performance and time reporting for slog-rs","archived":false,"fork":false,"pushed_at":"2018-09-07T18:20:05.000Z","size":17,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T19:00:48.805Z","etag":null,"topics":["benchmarking","logging","logging-library","performance","rust","slog","slog-rs","time"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slog-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-19T03:40:03.000Z","updated_at":"2023-07-25T14:08:30.000Z","dependencies_parsed_at":"2022-09-26T20:31:58.276Z","dependency_job_id":null,"html_url":"https://github.com/slog-rs/perf","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slog-rs%2Fperf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slog-rs%2Fperf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slog-rs%2Fperf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slog-rs%2Fperf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slog-rs","download_url":"https://codeload.github.com/slog-rs/perf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522364,"owners_count":20952533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmarking","logging","logging-library","performance","rust","slog","slog-rs","time"],"created_at":"2024-11-05T23:26:11.273Z","updated_at":"2025-04-06T17:31:43.520Z","avatar_url":"https://github.com/slog-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\n  \u003ca href=\"https://github.com/slog-rs/slog\"\u003e\n  \u003cimg src=\"https://cdn.rawgit.com/slog-rs/misc/master/media/slog.svg\" alt=\"slog-rs logo\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n\n  \u003ca href=\"https://travis-ci.org/slog-rs/perf\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/slog-rs/perf/master.svg\" alt=\"Travis CI Build Status\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://crates.io/crates/slog-perf\"\u003e\n      \u003cimg src=\"https://img.shields.io/crates/d/slog-perf.svg\" alt=\"slog-perf on crates.io\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://gitter.im/slog-rs/slog\"\u003e\n      \u003cimg src=\"https://img.shields.io/gitter/room/slog-rs/slog.svg\" alt=\"slog-rs Gitter Chat\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# slog-perf - Performance and time reporting for [slog-rs]\n\nThis crate provides very useful tools for reporting performance metrics\nthrough `slog`.\n\nCheck documentation for details and [reverse dependencies] for examples.\n\n[reverse dependencies]: https://crates.io/crates/slog-perf/reverse_dependencies\n\nFor more information about slog, help, to report issues etc. see [slog-rs][slog-rs].\n\n[slog-rs]: //github.com/slog-rs/slog\n\n\n## Sample output\n\nThe following is a sample output taken from [`rdedup`][rdedup]. Read more on\n[Rust's fearless concurrency in rdedup](http://dpc.pw/blog/2017/04/rusts-fearless-concurrency-in-rdedup/)\n\n[rdedup]: https://github.com/dpc/rdedup\n\n```\nApr 18 21:07:01.604 INFO time report, name: input-reader, tx: 3.595258855, input: 0.246253282\nApr 18 21:07:01.626 INFO time report, name: chunker, rx-and-chunking: 3.224178159, tx: 0.622769659\nApr 18 21:07:03.109 INFO time report, name: chunker, rx-and-chunking: 4.012730305, tx: 0.000014623\nApr 18 21:07:03.109 INFO time report, name: chunk-processing, compress: 2.7148105080000002, rx: 1.300910598, processing: 1.140292378, encrypt: 0.172064646, tx-writer: 0.014618051, tx-digest: 0.003738682\nApr 18 21:07:03.109 INFO time report, name: chunk-processing, compress: 2.651608273, rx: 1.463426039, processing: 1.063661373, encrypt: 0.138678476, tx-writer: 0.026703753, tx-digest: 0.002391723\nApr 18 21:07:03.109 INFO time report, name: chunk-processing, compress: 2.836732468, processing: 1.252152728, rx: 1.060371588, encrypt: 0.166409699, tx-writer: 0.026879077, tx-digest: 0.00393774\nApr 18 21:07:03.109 INFO time report, name: chunk-processing, compress: 3.453143579, processing: 1.6281752109999998, encrypt: 0.17906647, rx: 0.044625981, tx-writer: 0.035811789, tx-digest: 0.005779669\nApr 18 21:07:03.109 INFO time report, name: chunk-processing, compress: 2.888089877, processing: 1.353910947, rx: 0.928534413, encrypt: 0.151586489, tx-writer: 0.021566908, tx-digest: 0.002685722\nApr 18 21:07:03.110 INFO time report, name: chunk-processing, compress: 2.546534754, rx: 1.5378131019999999, processing: 1.058227244, encrypt: 0.180615367, tx-writer: 0.01845777, tx-digest: 0.004919227\nApr 18 21:07:03.110 INFO time report, name: chunk-processing, compress: 2.9532250639999997, processing: 1.4180076609999999, rx: 0.781645676, encrypt: 0.181882181, tx-writer: 0.00843785, tx-digest: 0.003109534\nApr 18 21:07:03.110 INFO time report, name: chunk-processing, compress: 3.144602231, processing: 1.317602689, rx: 0.694346659, encrypt: 0.173031093, tx-writer: 0.014143753, tx-digest: 0.002759141\nApr 18 21:07:03.110 INFO time report, name: chunk-writer, rx: 5.298270641, fsync: 0.044138053, write: 0.00320627, processing: 0.000783067\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslog-rs%2Fperf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslog-rs%2Fperf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslog-rs%2Fperf/lists"}