Skip to content

Commit

Permalink
added comment to benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 3, 2024
1 parent eafd691 commit 4eb11e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ configure_ccache()
configure_boost()
find_package(Boost ${BOOST_MIN_VERSION})
include_directories(${Boost_INCLUDE_DIRS})
include_directories("${PROJECT_SOURCE_DIR}/external/flatbuffers/include")
#include_directories("${PROJECT_SOURCE_DIR}/external/flatbuffers/include")


##############################################################
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/persistent_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <random>


/// @brief In this experiment, we evaluate the performance of constructing and accessing atoms.
/// @brief In this experiment, we evaluate the performance of constructing atoms.

// Define another benchmark
static void BM_ConstructAtoms(benchmark::State& state) {
Expand Down Expand Up @@ -65,6 +65,7 @@ static void BM_ConstructAtoms(benchmark::State& state) {
auto atom_factory = loki::AtomFactory();
auto term_factory = loki::TermFactory();
auto atoms = loki::pddl::AtomList();
// Construct num_objects^2 * num_predicates many atoms
for (const auto& predicate : predicates) {
for (const auto& object_left : objects) {
for (const auto& object_right : objects) {
Expand Down

0 comments on commit 4eb11e9

Please sign in to comment.