{"id":24290632,"url":"https://github.com/nocduro/rayon-thumbnail-example","last_synced_at":"2025-09-12T19:41:10.085Z","repository":{"id":136265776,"uuid":"101720910","full_name":"nocduro/rayon-thumbnail-example","owner":"nocduro","description":"Resize all .jpg in current directory into thumbnails using multiple threads","archived":false,"fork":false,"pushed_at":"2017-09-25T00:23:58.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T12:02:26.166Z","etag":null,"topics":["image","rayon","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nocduro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-08-29T05:03:46.000Z","updated_at":"2018-07-14T18:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b72331b7-97ce-4d87-9ac2-73309de8dbdb","html_url":"https://github.com/nocduro/rayon-thumbnail-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocduro%2Frayon-thumbnail-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocduro%2Frayon-thumbnail-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocduro%2Frayon-thumbnail-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocduro%2Frayon-thumbnail-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nocduro","download_url":"https://codeload.github.com/nocduro/rayon-thumbnail-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242135185,"owners_count":20077406,"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":["image","rayon","rust"],"created_at":"2025-01-16T11:53:55.560Z","updated_at":"2025-03-06T02:28:41.710Z","avatar_url":"https://github.com/nocduro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rayon-image-resizer\n\n## Overview\nUses the `glob`, `image`, and `rayon` crates to resize all of the .jpg in the current directory\ninto a `thumbnails` folder.\n\n## Usage\nrun with: `cargo run --release` with some .jpg images in the top level directory of the repository.\n\n## Results\nTest was run against 196 images from an 18MP dslr (~1GB of images). \n\nUsed the `Nearest` resize algorithm from the `image` crate, resizing to a 300px thumbnail.\n\nResults from i5 4670k (4 cores/threads):\n\n* No rayon: 63.837 seconds  ~50% cpu usage \n* With rayon: 33.094 seconds  ~97% cpu usage","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocduro%2Frayon-thumbnail-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnocduro%2Frayon-thumbnail-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocduro%2Frayon-thumbnail-example/lists"}