File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ //// Optional configuration of Benchee.
2
+ ////
3
+ //// Configuration is stored in ETS.
4
+
5
+ /// For details see [Benchee docs' configuration chapter](https://hexdocs.pm/benchee/Benchee.Configuration.html#t:user_configuration/0).
1
6
pub type BencheeConfigurationKey {
2
7
MemoryTime
3
8
Parallel
@@ -6,12 +11,18 @@ pub type BencheeConfigurationKey {
6
11
Warmup
7
12
}
8
13
14
+ /// Configuration values are all positive integers.
15
+ ///
9
16
pub type BencheeConfigurationValue =
10
17
Int
11
18
19
+ /// Initialize the ETS configuration table.
20
+ ///
12
21
@ external ( erlang , "Elixir.GlycheeBenchee" , "initialize_configuration" )
13
22
pub fn initialize ( ) -> Nil
14
23
24
+ /// Set a config pair.
25
+ ///
15
26
@ external ( erlang , "Elixir.GlycheeBenchee" , "set_configuration_pair" )
16
27
pub fn set_pair (
17
28
key configuration_key : BencheeConfigurationKey ,
You can’t perform that action at this time.
0 commit comments