{"id":19650067,"url":"https://github.com/pmatos/quantum","last_synced_at":"2026-03-05T04:33:55.881Z","repository":{"id":141565253,"uuid":"202700758","full_name":"pmatos/quantum","owner":"pmatos","description":"Quantum is a racket application to do application performance benchmarking ","archived":false,"fork":false,"pushed_at":"2021-01-08T14:27:45.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-27T01:15:48.236Z","etag":null,"topics":["benchmarking","performance","racket"],"latest_commit_sha":null,"homepage":null,"language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmatos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"pmatos"}},"created_at":"2019-08-16T09:36:31.000Z","updated_at":"2023-10-02T12:19:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb08d77b-6966-459b-b401-b6bb8f43b08c","html_url":"https://github.com/pmatos/quantum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmatos/quantum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmatos%2Fquantum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmatos%2Fquantum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmatos%2Fquantum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmatos%2Fquantum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmatos","download_url":"https://codeload.github.com/pmatos/quantum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmatos%2Fquantum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30110441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["benchmarking","performance","racket"],"created_at":"2024-11-11T14:56:29.755Z","updated_at":"2026-03-05T04:33:55.864Z","avatar_url":"https://github.com/pmatos.png","language":"Racket","funding_links":["https://github.com/sponsors/pmatos"],"categories":[],"sub_categories":[],"readme":"# Quantum\nLow-level Application Performance and Memory Tracker\n\n## Introduction\n\nI needed an utility to allow me to measure the maximum memory allocation during the execution of an application.\nThis is it, it will give you the maximum memory size used by an application, plot it if needed and generate a JSON file with the data.\n\n## Usage\n\nAs a usage example, lets say we want to compare the memory usage by racket initialization using versions 6.12, 7.1, 7.3 and 7.4CS  (chosen because they have reasonable differences both in time and in memory requirements).\n\nWe can run each of them separately using\n```\n$ ./quantum measure -j racket74cs.json -i 1 /home/pmatos/installs/racket-7.4_cs/bin/racket -e '(exit)'\nRunning command line /home/pmatos/installs/racket-7.4_cs/bin/racket -e (exit)\nPage size for your system is 4096 bytes\nTracking process 25897\nProcess finished (in 443.0ms), gathered 192 records (once every 2.31ms)\nMaximum virtual memory used: 437.35Mb\n```\n\nRun once for each version, gather the json and then do:\n```\n$ ./quantum compare --output racket-exit.png Racket6.12:racket612.json Racket7.1:racket71.json Racket7.3:racket73.json RacketCS7.4:racket74cs.json\nComparing:\nRacket6.12: racket612.json\nRacket7.1: racket71.json\nRacket7.3: racket73.json\nRacketCS7.4: racket74cs.json\nOutput: racket-exit.png\n```\n\nThe file `racket-exit.png` will look similar to the following (if not, consider reporting an issue):\n\n![Racket init timing](https://github.com/pmatos/LL-Tracket/blob/master/imgs/racket-exit.png)\n\n## Disclaimer\n\nThis software is in its infancy, its results might be correct, off-by-one, off-by-many or totally wrong. I am dog-fooding this on a daily basis but cross-referencing with other tools. At least for my current experiments, the results match what I expect and what other tools report but then again, it might all be a big coincidence. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmatos%2Fquantum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmatos%2Fquantum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmatos%2Fquantum/lists"}