{"id":27171412,"url":"https://github.com/codspeedhq/advent","last_synced_at":"2025-07-14T15:07:14.151Z","repository":{"id":265774595,"uuid":"896510170","full_name":"CodSpeedHQ/Advent","owner":"CodSpeedHQ","description":"Advent of Code performance leaderboard, powered by CodSpeed ","archived":false,"fork":false,"pushed_at":"2024-12-26T17:02:31.000Z","size":1661,"stargazers_count":5,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T08:40:37.061Z","etag":null,"topics":["advent-of-code","performance-testing"],"latest_commit_sha":null,"homepage":"https://codspeed.io/advent","language":"Python","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/CodSpeedHQ.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":"2024-11-30T14:58:39.000Z","updated_at":"2025-01-14T18:03:52.000Z","dependencies_parsed_at":"2024-12-26T17:31:59.107Z","dependency_job_id":"5f3a65a8-e25c-40c2-814e-27fbcbdc0387","html_url":"https://github.com/CodSpeedHQ/Advent","commit_stats":null,"previous_names":["codspeedhq/advent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodSpeedHQ/Advent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2FAdvent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2FAdvent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2FAdvent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2FAdvent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodSpeedHQ","download_url":"https://codeload.github.com/CodSpeedHQ/Advent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2FAdvent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311838,"owners_count":23745150,"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":["advent-of-code","performance-testing"],"created_at":"2025-04-09T08:34:19.788Z","updated_at":"2025-07-14T15:07:13.921Z","avatar_url":"https://github.com/CodSpeedHQ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Cover Image\" src=\"./cover.png\" width=\"100%\"\u003e\n  \u003csub\u003eA performance challenge based on the Advent of Code problems\u003c/sub\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nLearn more about Advent of CodSpeed and how to participate on the [Advent of CodSpeed page](https://codspeed.io/advent/).\n\n\u003e [!IMPORTANT]\n\u003e Only Rust solutions are supported for now. Python and Node.js are planned in the future since it's already supported by [CodSpeed](https://codspeed.io).\n\n## Repository setup\n\nYou need to expose a library that exposes a module for each day. In each module, you need to expose a `part1` and a `part2` function that takes a `\u0026str` and returns one of the following types:\n\n- Integer:\n  - Signed: `i8`, `i16`, `i32`, `i64`, `i128`, `isize`\n  - Unsigned: `u8`, `u16`, `u32`, `u64`, `u128`, `usize`\n- Floating-point: `f32`, `f64`\n- Boolean: `bool`\n- Single character: `char`\n- Strings `\u0026str`, `String`\n\nFor example, to solve part 2 of day 5, we'll call: `crate::day5::part2(input)`.\n\n\u003e [!NOTE]\n\u003e Day numbers are not zero-padded.\n\nWe follow the standard defined in [`cargo-aoc`](https://github.com/gobanos/cargo-aoc) for the project structure. See this [example repository](https://github.com/gobanos/advent-of-code-2015) for a reference.\n\n## Adding your solutions to the leaderboard\n\nAdd your repository [here](https://github.com/CodSpeedHQ/Advent/issues/new?assignees=\u0026labels=repo%2Cadd\u0026projects=\u0026template=new.yml\u0026title=Add+%3Crepo_name%3E+).\n\n## Testing your Rust solution\n\nYou can visit the [rust-runner](./rust-runner/) folder to test your Rust solution locally and make sure it will be picked up by the runner if you registered your repository.\n\n## Support\n\nJoin us on [Discord](https://discord.gg/NDa4PBKWaa) if you need help or want to contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodspeedhq%2Fadvent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodspeedhq%2Fadvent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodspeedhq%2Fadvent/lists"}