Skip to content

Commit f9322f6

Browse files
committed
reduce time further to keep up with BenchmarkDotNet autotuning
1 parent 9fb8436 commit f9322f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/perf_tests/PythonCallingNetBenchmark.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void ReadInt64Property()
1919
locals.SetItem("a", new NetObject().ToPython());
2020
PythonEngine.Exec($@"
2121
s = 0
22-
for i in range(50000):
22+
for i in range(10000):
2323
s += a.{nameof(NetObject.LongProperty)}
2424
", locals: locals.Handle);
2525
}
@@ -32,7 +32,7 @@ public void WriteInt64Property() {
3232
locals.SetItem("a", new NetObject().ToPython());
3333
PythonEngine.Exec($@"
3434
s = 0
35-
for i in range(50000):
35+
for i in range(10000):
3636
a.{nameof(NetObject.LongProperty)} += i
3737
", locals: locals.Handle);
3838
}

0 commit comments

Comments
 (0)