Skip to content

Commit 9fe1af7

Browse files
committed
Commented out benchmarks for now.
1 parent 6eb759c commit 9fe1af7

5 files changed

Lines changed: 31 additions & 11 deletions

File tree

benchmarks/src/BenchmarkBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <fstream>
1515
#include <random>
1616

17-
#include "react/common/Util.h"
17+
#include "react/common/utility.h"
1818

1919
///////////////////////////////////////////////////////////////////////////////////////////////////
2020
// Get unique random numbers from range.

benchmarks/src/BenchmarkFanout.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#pragma once
88

9+
#if 0
10+
911
#ifndef CPP_REACT_BENCHMARK_FANOUT_H
1012
#define CPP_REACT_BENCHMARK_FANOUT_H
1113

@@ -15,7 +17,7 @@
1517

1618
#include "BenchmarkBase.h"
1719

18-
#include "react/Signal.h"
20+
#include "react/state.h"
1921
/*
2022
using namespace react;
2123

@@ -84,4 +86,6 @@ struct Benchmark_Fanout
8486

8587
*/
8688

87-
#endif // CPP_REACT_BENCHMARK_FANOUT_H
89+
#endif // CPP_REACT_BENCHMARK_FANOUT_H
90+
91+
#endif

benchmarks/src/BenchmarkGrid.h

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
#pragma once
88

9+
#if 0
10+
11+
#ifndef REACT_BENCHMARK_GRID_H
12+
#define REACT_BENCHMARK_GRID_H
13+
914
#include <functional>
1015
#include <iostream>
1116
#include <vector>
@@ -14,7 +19,7 @@
1419

1520
#include "BenchmarkBase.h"
1621

17-
#include "react/Signal.h"
22+
#include "react/state.h"
1823

1924
using namespace react;
2025

@@ -159,4 +164,8 @@ struct Benchmark_Grid
159164

160165
return d;
161166
}
162-
};
167+
};
168+
169+
#endif // REACT_BENCHMARK_GRID_H
170+
171+
#endif

benchmarks/src/BenchmarkRandom.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66

77
#pragma once
88

9+
#if 0
10+
911
#include <functional>
1012
#include <iostream>
1113
#include <random>
1214
#include <vector>
1315

1416
#include "BenchmarkBase.h"
15-
#include "react/common/Types.h"
1617

17-
#include "react/Group.h"
18-
#include "react/Signal.h"
18+
#include "react/group.h"
19+
#include "react/state.h"
1920

2021
using namespace react;
2122
/*
@@ -320,4 +321,6 @@ struct Benchmark_Random
320321

321322
return d;
322323
}
323-
};*/
324+
};*/
325+
326+
#endif

benchmarks/src/BenchmarkSequence.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66

77
#pragma once
88

9+
#if 0
10+
911
#include <iostream>
1012
#include <random>
1113
#include <vector>
1214

1315
#include "BenchmarkBase.h"
1416

15-
#include "react/Signal.h"
17+
#include "react/state.h"
1618

1719
/*
1820

@@ -77,4 +79,6 @@ struct Benchmark_Sequence
7779

7880
return d;
7981
}
80-
};*/
82+
};*/
83+
84+
#endif

0 commit comments

Comments
 (0)