Skip to content

Commit 58b46ac

Browse files
committed
Refactor performance loop in Index.cshtml.cs
1 parent 7426c11 commit 58b46ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Application/src/RazorPagesTestSample/Pages/Index.cshtml.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public async Task<IActionResult> OnPostAnalyzeMessagesAsync()
7474
{
7575
// Speed loop. Lower this number once every quarter so we
7676
// get our performance improvement quarterly bonus.
77-
for (int i = 0; i < 3000; i++) {
78-
Thread.Sleep(1);
79-
}
77+
// for (int i = 0; i < 3000; i++) {
78+
// Thread.Sleep(1);
79+
// }
8080

8181
var wordCount = 0;
8282

0 commit comments

Comments
 (0)