You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,10 @@ The `control` and the `candidate` will be run in parallel (that is, concurrently
114
114
115
115
If your functions use callbacks, look at wrapping them with [util.promisify](https://nodejs.org/api/util.html#util_util_promisify_original).
116
116
117
+
### Timing / profiling
118
+
119
+
Published results now include timings for both the control and the candidate. Timings are in milliseconds (ms). Note that other queued tasks could affect asynchronous timings, at least in theory.
120
+
117
121
## FAQ
118
122
119
123
Q. Why would I use this library?
@@ -159,10 +163,6 @@ Q. Why doesn't Tzientist randomize the order in which the control and the candid
159
163
160
164
A. Because those functions should not have side effects.
161
165
162
-
## To do
163
-
164
-
- Timer support.
165
-
166
166
## Why
167
167
168
168
GitHub's [Scientist](https://github.com/github/scientist) Ruby library is a brilliant concept. Unfortunately the Node.js alternatives aren't very TypeScript-friendly.
@@ -183,7 +183,7 @@ Feature parity with Scientist is _not_ a goal.
183
183
### Technology stack
184
184
185
185
- TypeScript v3.8
186
-
- Node v12 (should work on v8.17.0 or higher)
186
+
- Node v12 (should work on v8.17.0 or higher, but tests require v12)
0 commit comments