We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb8436 commit f9322f6Copy full SHA for f9322f6
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(50000):
+for i in range(10000):
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