apoorva 0c9504b343 Add 'rosbags/' from commit 'c80625df279c154c6ec069cbac30faa319755e47'
git-subtree-dir: rosbags
git-subtree-mainline: 48df1fbdf4490f3cbfa3267c998d1a0fc98378ca
git-subtree-split: c80625df279c154c6ec069cbac30faa319755e47
2023-03-28 18:21:08 +05:30
..

=====
Bench
=====

Check and benchmark ``rosbags.rosbag2`` agains ``rosbag2_py``. The provided Dockerfile creates an execution environment for the script. Run from the root of this repository::

  $ docker build -t rosbags/bench -f tools/bench/Dockerfile .

The docker image expects that the rosbag2 file to benchmark is mounted under ``/rosbag2``::

  $ docker run --rm -v /path/to/bag:/rosbag2 rosbags/bench