We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3ed3a commit 103fa09Copy full SHA for 103fa09
src/perf_tests/PythonCallingNetBenchmark.cs
@@ -19,7 +19,7 @@ public void ReadInt64Property()
19
locals.SetItem("a", new NetObject().ToPython());
20
PythonEngine.Exec($@"
21
s = 0
22
-for i in range(300000):
+for i in range(50000):
23
s += a.{nameof(NetObject.LongProperty)}
24
", locals: locals.Handle);
25
}
@@ -32,7 +32,7 @@ public void WriteInt64Property() {
32
33
34
35
36
a.{nameof(NetObject.LongProperty)} += i
37
38
0 commit comments