{"id":19484986,"url":"https://github.com/opencog/benchmark","last_synced_at":"2026-02-21T19:31:41.386Z","repository":{"id":138151492,"uuid":"126931052","full_name":"opencog/benchmark","owner":"opencog","description":"Benchmarking the AtomSpace, the pattern matcher and other OpenCog systems","archived":false,"fork":false,"pushed_at":"2025-08-31T02:42:54.000Z","size":15017,"stargazers_count":6,"open_issues_count":5,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-19T22:14:46.212Z","etag":null,"topics":["atomspace","benchmark","pattern-matcher"],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencog.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":"2018-03-27T04:58:46.000Z","updated_at":"2025-08-31T02:42:58.000Z","dependencies_parsed_at":"2025-08-27T09:27:29.529Z","dependency_job_id":null,"html_url":"https://github.com/opencog/benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opencog/benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencog","download_url":"https://codeload.github.com/opencog/benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fbenchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29691044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: 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":["atomspace","benchmark","pattern-matcher"],"created_at":"2024-11-10T20:24:59.338Z","updated_at":"2026-02-21T19:31:41.349Z","avatar_url":"https://github.com/opencog.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmark\n\nCollection of tools and data to benchmark the AtomSpace, the pattern\nmatcher and other OpenCog processes.\n\n## Organization\nEach distinct benchmark has it's own instructions for building and\nrunning it.  See individual directories for details.\n\nThe most interesting benchmarks are probably the **query-links** and\n**query-loop** benchmarks (because they are \"real-world\" benchmarks)\nand the **atomspace** benchmark (because it has a very long measurement\nhistory, despite being deeply flawed).\n\n* __assembly__ -- examination of assembly code of some simple programs.\n\n* __atomspace__ -- A synthetic benchmark for measuring core AtomSpace\n  functions, such as rates for creating `Node`s and `Link`s, rates for\n  deleting them, and rates for setting and getting `TruthValue`s and\n  `IncomingSet`s.\n\n* __micro__ -- Micro-benchmarks for misc items. ***These benchmarks\n  do not work correctly! They're just plain broken! They report\n  incorrect results! DO NOT USE!***  See the README in the subdirectory\n  for details about what's wrong.\n\n* __python__ -- Benchmarks for the python bindings to various AtomSpace\n  subsystems.\n\n* __query-trite__ -- A synthetic benchmark containing some trivial\n  pattern matcher queries.\n\n* __query-links__ -- Several real-world benchmarks for performing\n  complex pattern matches on a real-world natural-language dataset.\n  One models an activity one might need in a parser, that of joining\n  together connectors. It creates 576 `BindLink`'s with four `GlobNodes`\n  and a `Variable`, each.  The `Glob`s are used to search for connectable\n  connectors, similar to what parser would need to do.  That is, this\n  is a search over \"jigsaw puzzle pieces\", looking for pairs of jigsaw\n  pieces that can connect.\n\n  A second benchmark in this directory computes dot products of vectors\n  in six different ways, each using an increasingly complex query\n  pattern. Uses the same base dataset.\n\n* __query-loop__ -- A real-world benchmark for performing a complex\n  pattern match on a real-world genome dataset. Uses EvaluationLink\n  in a simple/straight-forward way to represent the edges and vertices\n  of a large graph (for gene/protein interactions), and then hunts\n  for triangles and pentagons in that graph.\n\n* __cogserver__ -- Benchmark of network I/O to the cogserver.\n  Highlights issues created by using `netcat` instead of using native\n  socket I/O.\n\n## Using perf\nIt can be useful to use `perf`. Sometimes. Maybe. Here's the\ncheat-sheet:\n\nTo record 15 seconds worth:\n```\nsudo perf record -F 199 -p pid --call-graph fp -- sleep 15\n```\nCAUTION: need to run perf as root, and it writes crap into the\n/root/.debug folder!  This eats disk!\n\nView reports:\n```\nperf report\nperf report -n\nperf report --stdio -n -g -G\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencog%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fbenchmark/lists"}