{"id":23034041,"url":"https://github.com/olback/1brc","last_synced_at":"2025-04-02T22:14:49.985Z","repository":{"id":216889481,"uuid":"742626267","full_name":"olback/1brc","owner":"olback","description":"My attempt at solving the \"1 billion row challange\".","archived":false,"fork":false,"pushed_at":"2024-01-14T18:39:29.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T12:31:27.898Z","etag":null,"topics":[],"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/olback.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},"funding":{"github":"olback"}},"created_at":"2024-01-12T22:39:56.000Z","updated_at":"2024-03-18T14:22:49.000Z","dependencies_parsed_at":"2024-01-13T13:21:43.920Z","dependency_job_id":"69467a6f-dd84-4296-a68e-98f11a78bedf","html_url":"https://github.com/olback/1brc","commit_stats":null,"previous_names":["olback/1brc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2F1brc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2F1brc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2F1brc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2F1brc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olback","download_url":"https://codeload.github.com/olback/1brc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899668,"owners_count":20851898,"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-12-15T16:28:56.762Z","updated_at":"2025-04-02T22:14:49.954Z","avatar_url":"https://github.com/olback.png","language":"Rust","readme":"# '1 Billion row challange'\n\nMy attempt at solving the \"[1 billion row challange](https://github.com/gunnarmorling/1brc)\".\n\n```\n$CARGO_TARGET_DIR/release/brc  87.53s user 0.80s system 779% cpu 11.333 total\n```\n\n### Test data:\n```\ncurl https://static.olback.dev/measurements.txt -o measurements.txt # ~ 14 GB, sha1sum = 3ac95a1fceb2c096813a9f90fa8900cc15729313\n```\n\n### Build:\n```\nRUSTFLAGS=\"-Ctarget-cpu=native\" cargo b -r\n```\n\n### Run:\n```\n./run.sh\n```\n\n### CPU:\n\n```\n$ lscpu\nArchitecture:            x86_64\n  CPU op-mode(s):        32-bit, 64-bit\n  Address sizes:         39 bits physical, 48 bits virtual\n  Byte Order:            Little Endian\nCPU(s):                  8\n  On-line CPU(s) list:   0-7\nVendor ID:               GenuineIntel\n  Model name:            11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz\n    CPU family:          6\n    Model:               140\n    Thread(s) per core:  2\n    Core(s) per socket:  4\n    Socket(s):           1\n    Stepping:            1\n    CPU max MHz:         4700.0000\n    CPU min MHz:         400.0000\n    BogoMIPS:            5606.40\n    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art a\n                         rch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm\n                         pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ib\n                         pb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512i\n                         fma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window h\n                         wp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2inters\n                         ect md_clear ibt flush_l1d arch_capabilities\nVirtualization features:\n  Virtualization:        VT-x\nCaches (sum of all):\n  L1d:                   192 KiB (4 instances)\n  L1i:                   128 KiB (4 instances)\n  L2:                    5 MiB (4 instances)\n  L3:                    12 MiB (1 instance)\nNUMA:\n  NUMA node(s):          1\n  NUMA node0 CPU(s):     0-7\nVulnerabilities:\n  Itlb multihit:         Not affected\n  L1tf:                  Not affected\n  Mds:                   Not affected\n  Meltdown:              Not affected\n  Mmio stale data:       Not affected\n  Retbleed:              Not affected\n  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl\n  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization\n  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence\n  Srbds:                 Not affected\n  Tsx async abort:       Not affected\n```\n\n","funding_links":["https://github.com/sponsors/olback"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folback%2F1brc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folback%2F1brc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folback%2F1brc/lists"}