{"id":27401037,"url":"https://github.com/ammarfaizi2/memcpy_benchmark","last_synced_at":"2025-06-13T03:04:38.047Z","repository":{"id":85309383,"uuid":"296957891","full_name":"ammarfaizi2/memcpy_benchmark","owner":"ammarfaizi2","description":"Benchmark to show which is the fastest memcpy.","archived":false,"fork":false,"pushed_at":"2020-09-22T06:40:44.000Z","size":56,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T03:56:21.403Z","etag":null,"topics":["avx","avx-512","hpc","memcpy","performance","sse","x86-64"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ammarfaizi2.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,"zenodo":null}},"created_at":"2020-09-19T21:56:26.000Z","updated_at":"2024-11-30T10:36:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"6879a74a-390c-4f8a-8f59-135572530524","html_url":"https://github.com/ammarfaizi2/memcpy_benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ammarfaizi2/memcpy_benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammarfaizi2%2Fmemcpy_benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammarfaizi2%2Fmemcpy_benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammarfaizi2%2Fmemcpy_benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammarfaizi2%2Fmemcpy_benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ammarfaizi2","download_url":"https://codeload.github.com/ammarfaizi2/memcpy_benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammarfaizi2%2Fmemcpy_benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259571641,"owners_count":22878183,"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":["avx","avx-512","hpc","memcpy","performance","sse","x86-64"],"created_at":"2025-04-14T03:53:42.037Z","updated_at":"2025-06-13T03:04:37.926Z","avatar_url":"https://github.com/ammarfaizi2.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memcpy Benchmark\nWhich is the best `memcpy`?\n\n# How to use?\n```sh\n# Install make, nasm and gcc.\nsudo apt install make nasm gcc -y;\n\n# Clone the repository.\ngit clone https://github.com/ammarfaizi2/memcpy_benchmark;\ncd memcpy_benchmark;\nmake;\n\n# Allow CPU to use max freq.\necho \"performance\" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;\n\n# Run the benchmark.\nsudo nice -n -20 ./memcpy_bench 1 # Benchmark built in memcpy from libc\nsudo nice -n -20 ./memcpy_bench 2 # Benchmark memcpy_avx256\nsudo nice -n -20 ./memcpy_bench 3 # Benchmark memcpy_avx512\nsudo nice -n -20 ./memcpy_bench 4 # Benchmark memcpy_movsb\n```\n\n# License\nThis is free and unencumbered software released into the public domain, thanks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammarfaizi2%2Fmemcpy_benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fammarfaizi2%2Fmemcpy_benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammarfaizi2%2Fmemcpy_benchmark/lists"}