https://github.com/hakansunay/buddymemoryallocator
https://github.com/hakansunay/buddymemoryallocator
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hakansunay/buddymemoryallocator
- Owner: HakanSunay
- License: mit
- Created: 2020-07-27T17:14:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T12:27:23.000Z (almost 5 years ago)
- Last Synced: 2025-02-17T03:44:05.642Z (4 months ago)
- Language: C++
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BuddyMemoryAllocator
## Results
### Testing Allocation and Deallocation with 1MB of memory with static 32 byte allocations
```
Time taken by buddy to allocate: 1986 microseconds
Time taken by system to allocate: 1776 microseconds
Time taken by buddy to free: 2204 microseconds
Time taken by system to free: 1758 microseconds
```### Testing Allocation and Deallocation with 1 GB of memory with ranging allocation sizes
```
Time taken by buddy to allocate: 32263 microseconds
Time taken by system to allocate: 24911 microseconds
Time taken by buddy to free: 28426 microseconds
Time taken by system to free: 26026 microseconds
Ending test huge allocations
```