{"id":22724698,"url":"https://github.com/cschladetsch/monotonic","last_synced_at":"2025-04-13T19:05:22.909Z","repository":{"id":8859148,"uuid":"10569460","full_name":"cschladetsch/Monotonic","owner":"cschladetsch","description":"Boost proposal: C++ Fastest memory allocator.","archived":false,"fork":false,"pushed_at":"2024-04-13T22:29:57.000Z","size":31785,"stargazers_count":13,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-04-14T12:18:26.008Z","etag":null,"topics":["boost","cpp","memory"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cschladetsch.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}},"created_at":"2013-06-08T14:24:27.000Z","updated_at":"2023-12-15T12:43:06.000Z","dependencies_parsed_at":"2024-04-13T23:29:22.550Z","dependency_job_id":"307b5e21-9b39-42e6-8f75-77b1a031b4a0","html_url":"https://github.com/cschladetsch/Monotonic","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/cschladetsch%2FMonotonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschladetsch%2FMonotonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschladetsch%2FMonotonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschladetsch%2FMonotonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cschladetsch","download_url":"https://codeload.github.com/cschladetsch/Monotonic/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229082307,"owners_count":18017251,"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":["boost","cpp","memory"],"created_at":"2024-12-10T15:07:41.803Z","updated_at":"2024-12-10T15:07:42.735Z","avatar_url":"https://github.com/cschladetsch.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monotonic\n[![CodeFactor](https://www.codefactor.io/repository/github/cschladetsch/monotonic/badge)](https://www.codefactor.io/repository/github/cschladetsch/monotonic)\n[![License](https://img.shields.io/github/license/cschladetsch/monotonic.svg?label=License\u0026maxAge=86400)](./LICENSE.txt)\n[![Release](https://img.shields.io/github/release/cschladetsch/monotonic.svg?label=Release\u0026maxAge=60)](https://github.com/cschladetsch/monotonic/releases/latest)\n\nA boost library propsal: **Fastest C++ Allocator**. See original [boost documentation](https://htmlpreview.github.io/?https://github.com/cschladetsch/Monotonic/blob/develop/libs/monotonic/doc/html/index.html) and original [code with documentation here](https://svn.boost.org/svn/boost/sandbox/monotonic/libs/monotonic/doc/html/index.html).\n\nThis library provides the fastest way to manage memory in a C++ application. Yes, that is a bold claim. See the [exhaustive results]( http://github.com/cschladetsch/Monotonic/tree/develop/libs/monotonic/test/results/). \n\nThere are no source files - to add Monotonic functionality to your project, simply get latest and add the root folder to your include path.\n\n## Building\n\n### Building Boost Requirements\n\nFirst, build only the requirements:\n\nFrom Command line \n\n##### Windows\n```\n$ b2 address-model=64 link=static threading=multi runtime-link=shared build-dir=build\\x86 install --prefix=\"c:\\lib\\boost\\\" filesystem chrono regex threading\n```\n\n##### Ubuntu\n```\n$ sudo apt-get intall libdev-boost-filesystem libdev-boost-chrono libdev-boost-regex\n```\n\nThen build the test and performance harnesses:\n```bash\n$ mkdir -p build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make\n```\n\n## Testing\n\nTried and tested on Win7, Win8, Win10, Ubuntu and macOS.\n\n## Results\n\nSee all comparative results, going back to 2009, [here](/libs/monotonic/test/results).\n\nThese are the latest results as of April 2021.\n\nAll numbers are normalised by the time taken for Monotonic, so a number \u003c 0 means faster, a number \u003e 0 means slower by that factor.\n\n```\n*******************************************************\n\t\tFINAL SUMMARY\n*******************************************************\n    scheme      mean   std-dev       min       max\n      fast      30.2       119         0  1.04e+03\n      pool        75  6.39e+04         1  2.38e+03\n       std       3.6      3.04       0.5        11\n```\n\nSee the [comparison code](/libs/monotonic/test/compare_memory_pool.cpp) and the latest [results](/libs/monotonic/test/results/2021).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcschladetsch%2Fmonotonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcschladetsch%2Fmonotonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcschladetsch%2Fmonotonic/lists"}