{"id":28531797,"url":"https://github.com/specs-feup/clava-lite-benchmarks","last_synced_at":"2026-04-16T12:01:53.924Z","repository":{"id":293558431,"uuid":"898210466","full_name":"specs-feup/clava-lite-benchmarks","owner":"specs-feup","description":"A collection of applications and benchmark suites used to evaluate several Clava NPM packages","archived":false,"fork":false,"pushed_at":"2025-11-15T03:21:06.000Z","size":81082,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-11-15T05:41:20.459Z","etag":null,"topics":["benchmarks","c","cpp","source-to-source"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/specs-feup.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-04T01:39:58.000Z","updated_at":"2025-11-15T03:21:09.000Z","dependencies_parsed_at":"2025-09-30T03:20:58.838Z","dependency_job_id":null,"html_url":"https://github.com/specs-feup/clava-lite-benchmarks","commit_stats":null,"previous_names":["specs-feup/clava-lite-benchmarks"],"tags_count":0,"template":false,"template_full_name":"specs-feup/clava-project-template","purl":"pkg:github/specs-feup/clava-lite-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specs-feup%2Fclava-lite-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specs-feup%2Fclava-lite-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specs-feup%2Fclava-lite-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specs-feup%2Fclava-lite-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/specs-feup","download_url":"https://codeload.github.com/specs-feup/clava-lite-benchmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specs-feup%2Fclava-lite-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31884929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["benchmarks","c","cpp","source-to-source"],"created_at":"2025-06-09T15:11:34.124Z","updated_at":"2026-04-16T12:01:53.885Z","avatar_url":"https://github.com/specs-feup.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clava-lite-benchmarks\n\nA simple, reusable benchmark loader for NPM-based Clava packages.\n\n## Usage\n\n* Example 1: Loading an entire suite, one application at a time:\n\n```TypeScript\nimport Query from \"@specs-feup/lara/api/weaver/Query.js\";\nimport { FunctionJp } from \"@specs-feup/clava/api/Joinpoints.js\";\nimport { loadSuite } from \"@specs-feup/clava-lite-benchmarks/LiteBenchmarkLoader\";\nimport { ROSETTA } from \"@specs-feup/clava-lite-benchmarks/BenchmarkSuites\";\n\nconst loader = loadSuite(ROSETTA);\n\nfor (const res of loader) {\n    if (res.success) {\n        console.log(`Loaded app: ${res.app}, top function: ${res.topFunction}`);\n\n        // Run whatever script you want over the loaded application\n        // For this example, we simply print the name of every function\n        for (const fun of Query.search(FunctionJp)) {\n            console.log(fun.name);\n        }\n    }\n    else {\n        console.log(`Failed to load app: ${res.app}`);\n    }\n}\n```\n\n* Example 2: loading a specific application, provided we know its name\n\n```TypeScript\nimport Query from \"@specs-feup/lara/api/weaver/Query.js\";\nimport { FunctionJp } from \"@specs-feup/clava/api/Joinpoints.js\";\nimport { loadApp } from \"@specs-feup/clava-lite-benchmarks/LiteBenchmarkLoader\";\nimport { ROSETTA } from \"@specs-feup/clava-lite-benchmarks/BenchmarkSuites\";\n\nlet suite = ROSETTA;\nlet app = \"spam-filter\"\nloadApp(suite, app);\n\nfor (const fun of Query.search(FunctionJp)) {\n    console.log(fun.name);\n}\n```\n\n## Licenses\n\nThis Clava extension is licensed under LGPL-3.0 License. You can use, modify, and distribute it under the terms of this license.\n\nThe included benchmark applications have different licenses, which are provided alongside their code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecs-feup%2Fclava-lite-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspecs-feup%2Fclava-lite-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecs-feup%2Fclava-lite-benchmarks/lists"}