{"id":13730233,"url":"https://github.com/node-dot-cpp/alloc-test","last_synced_at":"2025-05-08T02:32:10.426Z","repository":{"id":79960170,"uuid":"138313975","full_name":"node-dot-cpp/alloc-test","owner":"node-dot-cpp","description":"Cross-platform benchmarking for memory allocators, aiming to be as close to real world as it is practical","archived":false,"fork":false,"pushed_at":"2019-02-25T08:56:59.000Z","size":83,"stargazers_count":44,"open_issues_count":4,"forks_count":12,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-14T21:37:53.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-dot-cpp.png","metadata":{"files":{"readme":"README.txt","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}},"created_at":"2018-06-22T14:46:02.000Z","updated_at":"2024-10-28T18:52:05.000Z","dependencies_parsed_at":"2023-04-08T04:43:33.860Z","dependency_job_id":null,"html_url":"https://github.com/node-dot-cpp/alloc-test","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/node-dot-cpp%2Falloc-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-dot-cpp%2Falloc-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-dot-cpp%2Falloc-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-dot-cpp%2Falloc-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-dot-cpp","download_url":"https://codeload.github.com/node-dot-cpp/alloc-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252986920,"owners_count":21836254,"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-08-03T02:01:11.884Z","updated_at":"2025-05-08T02:32:10.155Z","avatar_url":"https://github.com/node-dot-cpp.png","language":"C++","readme":"NOTE: 32-BIT PLATFORMS HAVE NOT YET BEEN TESTED!\n\nTo test tcmalloc / jemalloc / hoard / ptmalloc:\n\n1. Make sure new_delete_allocator is selected at selector.h\n\n2. See useful build notes at section \"Testing\" at http://ithare.com/testing-memory-allocators-ptmalloc2-tcmalloc-hoard-jemalloc-while-trying-to-simulate-real-world-loads/\n\n3. Edit build_gcc.sh to enable one of the above allocators (add/edit to have one of -ljemalloc, -ltcmalloc, -lhoard, or -L path/to/libmalloc.a) (\n   Note: -lhoard: see https://github.com/emeryberger/Hoard\n         -L path/to/libmalloc.a assumes that libmalloc.a is already built for a target platform\n\n\nTo test any other allocator:\n\n1. Create \"src/my_allocator.h\" file with a class representing an allocator to be tested.\n   As a sample \"src/new_delete_allocator.h\" or \"src/void_allocator.h\" could be taken.\n   class MyAllocator must have all member functions found in the above-mentioned samples\n   as this class is used as a template parameter in the testing routine\n   \n2. Edit \"src/selector.h\" to switch to using a new allocator\n\n3. Rebuild and run","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-dot-cpp%2Falloc-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-dot-cpp%2Falloc-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-dot-cpp%2Falloc-test/lists"}