{"id":21037598,"url":"https://github.com/faranalytics/streams-logger-benchmark","last_synced_at":"2025-10-27T18:46:17.466Z","repository":{"id":249217875,"uuid":"825161216","full_name":"faranalytics/streams-logger-benchmark","owner":"faranalytics","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-04T02:50:21.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T16:22:50.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faranalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T01:04:58.000Z","updated_at":"2024-08-04T02:50:25.000Z","dependencies_parsed_at":"2025-01-20T16:50:48.003Z","dependency_job_id":null,"html_url":"https://github.com/faranalytics/streams-logger-benchmark","commit_stats":null,"previous_names":["faranalytics/streams-logger-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faranalytics%2Fstreams-logger-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faranalytics%2Fstreams-logger-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faranalytics%2Fstreams-logger-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faranalytics%2Fstreams-logger-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faranalytics","download_url":"https://codeload.github.com/faranalytics/streams-logger-benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243482877,"owners_count":20297897,"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":[],"created_at":"2024-11-19T13:27:06.948Z","updated_at":"2025-10-27T18:46:17.459Z","avatar_url":"https://github.com/faranalytics.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmarking the *Streams* Logger\n\n## Introduction\n\nThis package provides a rough benchmark comparison between *Streams*, Pino, and Winston.  The comparison may not take into account relevant optimizations offered by each package - *this is a work in progress*.  Please see the implementations for details.\n\n## Materials\n\n- [Streams](https://github.com/faranalytics/streams-logger-benchmark/blob/main/src/streams.ts)\n- [Pino](https://github.com/faranalytics/streams-logger-benchmark/blob/main/src/pino.ts)\n- [Winston](https://github.com/faranalytics/streams-logger-benchmark/blob/main/src/winston.ts)\n\n## Methods\n\n### Hello, World!\n\nEach logger is configured to log a message to the console and a file that roughly resembles `2024-07-10T02:31:33.797Z INFO: Hello, World!`.  Each logger is ran once on each `iteration`.\n\n#### Procedure\n1. Start a child process.\n2. Start the timer.\n3. Configure the logger.\n4. Run the specified test `hello_world.js` 1e2 times.\n5. Log Hello, World! to the console and to a file 10000 times.\n3. Calculate the mean time and memory usage of each iteration.\n\n#### Run the Test\n\n`npm start iteration=1e2 test=hello_world`\n\n## Results\n\n## Discussion\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaranalytics%2Fstreams-logger-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaranalytics%2Fstreams-logger-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaranalytics%2Fstreams-logger-benchmark/lists"}