Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heckj/jemalloc
A VSCode devContainer feature that adds jemalloc support for Ubuntu images
https://github.com/heckj/jemalloc
Last synced: 15 days ago
JSON representation
A VSCode devContainer feature that adds jemalloc support for Ubuntu images
- Host: GitHub
- URL: https://github.com/heckj/jemalloc
- Owner: heckj
- License: mit
- Created: 2023-02-27T18:29:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-27T21:16:45.000Z (over 1 year ago)
- Last Synced: 2024-10-10T19:41:15.957Z (about 1 month ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dev Container Feature: jemalloc
A feature for a dev container that installs the jemalloc allocator library.
It's meant as an addition to the swift 5.7 (and later) images to install the library to support
using [package-benchmark](https://github.com/ordo-one/package-benchmark) to benchmark swift code,
and capturing memory allocation data in those benchmarks.Example using the feature:
```jsonc
{
"image": "swift:5.7",
"features": {
"ghcr.io/heckj/jemalloc/jemalloc:1": {
}
}
}
```## Testing
using the devcontainer CLI:
```
devcontainer features test --skip-autogenerated f jemalloc -i ubuntu:latest .
devcontainer features test --skip-scenarios -f jemalloc -i ubuntu:latest .
devcontainer features test --global-scenarios-only -i ubuntu:latest .
```