8000 Report AppVeyor build timings by lostmsu · Pull Request #1051 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

Report AppVeyor build timings #1051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reduced number of iterations in performance tests to fit into AppVeyo…
…r time limit
  • Loading branch information
lostmsu committed Feb 20, 2020
commit 103fa099015786b291bd8b009f6516099385bc2d
4 changes: 2 additions & 2 deletions src/perf_tests/PythonCallingNetBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ReadInt64Property()
locals.SetItem("a", new NetObject().ToPython());
PythonEngine.Exec($@"
s = 0
for i in range(300000):
for i in range(50000):
s += a.{nameof(NetObject.LongProperty)}
", locals: locals.Handle);
}
Expand All @@ -32,7 +32,7 @@ public void WriteInt64Property() {
locals.SetItem("a", new NetObject().ToPython());
PythonEngine.Exec($@"
s = 0
for i in range(300000):
for i in range(50000):
a.{nameof(NetObject.LongProperty)} += i
", locals: locals.Handle);
}
Expand Down
0