{"id":24868739,"url":"https://github.com/daltonsw/1brc","last_synced_at":"2025-08-12T06:47:34.999Z","repository":{"id":245202890,"uuid":"817539620","full_name":"DaltonSW/1BRC","owner":"DaltonSW","description":"1 Billion Row Challenge in various languages","archived":false,"fork":false,"pushed_at":"2025-04-16T23:46:55.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T12:36:12.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/DaltonSW.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-06-20T00:09:39.000Z","updated_at":"2025-04-16T23:46:59.000Z","dependencies_parsed_at":"2024-07-27T17:18:52.515Z","dependency_job_id":null,"html_url":"https://github.com/DaltonSW/1BRC","commit_stats":null,"previous_names":["daltonsw/1brc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DaltonSW/1BRC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2F1BRC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2F1BRC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2F1BRC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2F1BRC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaltonSW","download_url":"https://codeload.github.com/DaltonSW/1BRC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2F1BRC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270016687,"owners_count":24512964,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-01T02:32:49.677Z","updated_at":"2025-08-12T06:47:34.944Z","avatar_url":"https://github.com/DaltonSW.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1BRC\n\n## Info\n\nRunning the 1 Billion Row Challenge in a few different languages, to faciliate learning optimization in a few different languages.\n\nThe script `createMeasurements.py` will create the measurement file:\n```\nusage: createMeasurements.py [-h] [-o OUTPUT] [-r RECORDS]\n\nCreate measurement file\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o OUTPUT, --output OUTPUT\n                        Measurement file name (default is \"measurements.txt\")\n  -r RECORDS, --records RECORDS\n                        Number of records to create (default is 1_000_000_000)\nShoutouts to github.com/ifnesi for the script\n```\n\nYou'll also need the following Python modules: `numpy`, `polars`, and `tqdm`\n\n## Rules \n\nThis snippet is taken from the original repo.\n\nThe text file contains temperature values for a range of weather stations.\nEach row is one measurement in the format `\u003cstring: station name\u003e;\u003cdouble: measurement\u003e`, with the measurement value having exactly one fractional digit.\nThe following shows ten rows as an example:\n\n```\nHamburg;12.0\nBulawayo;8.9\nPalembang;38.8\nSt. John's;15.2\nCracow;12.6\nBridgetown;26.9\nIstanbul;6.2\nRoseau;34.4\nConakry;31.2\nIstanbul;23.0\n```\n\nThe task is to write a program which reads the file, calculates the min, mean, and max temperature value per weather station, and emits the results sorted alphabetically by station name, and the result values per station in the format `\u003cmin\u003e/\u003cmean\u003e/\u003cmax\u003e`, rounded to one fractional digit\n\n## Test Environment \n\nUnless otherwise stated, all of these tests are performed in the environment below: \n\nOS: WSL 2 Ubuntu on Windows 11\nCPU: Intel i9-12900K (24 Cores) @ 3.19 GHz\nRAM: 32GB @ 3200MHz (Though WSL only reports 16GB, so maybe that)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaltonsw%2F1brc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaltonsw%2F1brc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaltonsw%2F1brc/lists"}