Skip to content
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

On larger inputs the new sandbox is relatively slower than the old system #114

Open
NikolayIT opened this issue Sep 8, 2013 · 2 comments

Comments

@NikolayIT
Copy link
Owner

Old:

100 / 100 Practice | C# Code | 1,26 sec. | 1 MB 
✔✔✔✔✔

New:

100 / 100 Practice | C# Code | 1,42 sec. | 54 MB 
✔✔✔✔✔
@NikolayIT
Copy link
Owner Author

It seems this error is mostly in source codes where a lot of writes to the console are made.

@ghost ghost assigned NikolayIT Sep 8, 2013
@NikolayIT
Copy link
Owner Author

Lowered the difference by setting large buffer when creating pipes

NativeMethods.CreatePipe(out readPipe, out writePipe, pipeAttributes, size)

Old system:

100 / 100 Practice | C# Code | 2,44 sec. | 1 MB 
✔✔✔✔✔

New sandbox:

100 / 100 Practice | C# Code | 2,51 sec. | 63 MB 
✔✔✔✔✔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant