piston icon indicating copy to clipboard operation
piston copied to clipboard

Is there a way to speed dotnet ?

Open sahar2339 opened this issue 4 years ago • 2 comments

HI, I am using piston for Python, Java and dotnet. I noticed that in piston v3 the dotnet runtime is much mush slower. for example running a simple Console.WriteLine takes above 6 seconds' while in python and java it takes less than half a second... is there a way to speed it up?

sahar2339 avatar May 22 '21 17:05 sahar2339

is this the public api or your own local install? a quick test of c# shows an avg execution time of about 850ms, much lower than the reported 6 seconds. you'll have to explain your environment more.

image

realtux avatar May 22 '21 17:05 realtux

Thanks for the fast reply, here is what I found: 1 2 The differences being that using the aliases cs/csharp instead of dotnet largely affects the time of the request, no matter the content

sahar2339 avatar May 22 '21 18:05 sahar2339