Skip to content

Commit 729372b

Browse files
generatedunixname1202473815430210meta-codesync[bot]
authored andcommitted
Port more benchmarks from 3.10.cinder to CinderX
Reviewed By: DinoV Differential Revision: D116528765 fbshipit-source-id: 16392605bd83766d8f7a66d55f70f73b0971c72a
1 parent 13092f4 commit 729372b

4 files changed

Lines changed: 1371 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
from cinderx.compiler.strict import loader as static_python_loader
4+
5+
static_python_loader.install()
6+
7+
import sys
8+
9+
import cinderx.jit
10+
from deltablue_static_lib import delta_blue
11+
12+
13+
if __name__ == "__main__":
14+
cinderx.jit.auto()
15+
16+
n = 10000
17+
if len(sys.argv) > 1:
18+
n = int(sys.argv[1])
19+
delta_blue(n)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
from cinderx.compiler.strict import loader as static_python_loader
4+
5+
static_python_loader.install()
6+
7+
import sys
8+
9+
import cinderx.jit
10+
from deltablue_static_basic_lib import delta_blue
11+
12+
13+
if __name__ == "__main__":
14+
cinderx.jit.auto()
15+
16+
n = 10000
17+
if len(sys.argv) > 1:
18+
n = int(sys.argv[1])
19+
delta_blue(n)

0 commit comments

Comments
 (0)