tests: initial benchmarking setup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If0ed2dd4279abf155a8ddc678ca047736a6a6964
This commit is contained in:
parent
121803b13c
commit
f385eebc99
4 changed files with 160 additions and 0 deletions
13
tests/benchmark/simple.nix
Normal file
13
tests/benchmark/simple.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
let
|
||||
x = 10;
|
||||
y = 20;
|
||||
z = x + y;
|
||||
in {
|
||||
result = z * 2;
|
||||
list = [1 2 3 4 5];
|
||||
attrs = {
|
||||
a = 1;
|
||||
b = 2;
|
||||
c = 3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue