Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Jonathan Kemper
Jonathan Kemper
5,169 Points

Running programs and checking code challenges takes 5-10 seconds in C#

I am taking the C# beginners course and when I perform a "dotnet run" to execute even simple programs like Hello World it takes 5+ seconds to compile and run the code.

During code challenges it takes 10+ seconds to preview and check work. Is there something going on with Treehouse or could it be an issue on my end? I'm working in the latest version of chrome.

1 Answer

Steven Parker
Steven Parker
231,271 Points

Behind the scenes, there are several layers of programs involved in performing challenge evaluations. So a bit of execution time should be expected.

There's a blog post from years ago where one of the creators talks about the process in detail, if you care to dig it up.