opencog / benchmark

Benchmarking the AtomSpace, the pattern matcher and other OpenCog systems
GNU Affero General Public License v3.0
6 stars 9 forks source link
atomspace benchmark pattern-matcher

Benchmark

Collection of tools and data to benchmark the AtomSpace, the pattern matcher and other OpenCog processes.

Organization

Each distinct benchmark has it's own instructions for building and running it. See individual directories for details.

The most interesting benchmarks are probably the query-links and query-loop benchmarks (because they are "real-world" benchmarks) and the atomspace benchmark (because it has a very long measurement history, despite being deeply flawed).

Using perf

It can be useful to use perf. Sometimes. Maybe. Here's the cheat-sheet:

To record 15 seconds worth:

sudo perf record -F 199 -p pid --call-graph fp -- sleep 15

CAUTION: need to run perf as root, and it writes crap into the /root/.debug folder! This eats disk!

View reports:

perf report
perf report -n
perf report --stdio -n -g -G