Advertisement
Guest User

Untitled

a guest
Nov 26th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. ------------------------------------------------------------------------------------------------------------------------------------------------
  2. |# | Table Rows | Iterations | Measured query | Elapsed Time | Measured query | Elapsed Time |
  3. ------------------------------------------------------------------------------------------------------------------------------------------------
  4. |1 | 1000 | 100 | Select,Console.WriteLine | 00:00:10.5507411 | Select | 00:00:00.0024548 |
  5. ------------------------------------------------------------------------------------------------------------------------------------------------
  6. |2 | 1000 | 10000 | ToList | 00:00:14.0136524 | -- | 00:00:00.0000521 |
  7. ------------------------------------------------------------------------------------------------------------------------------------------------
  8. |2'| 1000 | 10000 | ToList with Count | 00:00:22.6995110 | Count | 00:00:05.4453051 |
  9. ------------------------------------------------------------------------------------------------------------------------------------------------
  10. |3 | 1000 | 1000 | ToList, FirstOrDefault | 00:00:01.6237243 | FirstOrDefault | 00:00:00.2924465 |
  11. ------------------------------------------------------------------------------------------------------------------------------------------------
  12. |4 | 1000 | 1000 | Include | 00:00:00.0113076 | -- | 00:00:00.0000051 |
  13. ------------------------------------------------------------------------------------------------------------------------------------------------
  14. |4'| 1000 | 1000 | Include with Count | 00:00:00.6547914 | Count | 00:00:00.7667228 |
  15. ------------------------------------------------------------------------------------------------------------------------------------------------
  16. |5 | 1000 | 1000 | Include, ToList | 00:00:20.9042604 | ToList | 00:00:02.6157810 |
  17. ------------------------------------------------------------------------------------------------------------------------------------------------
  18. |6 | 1000 | 1000 | Include,FirstOrDefault | 00:00:00.5997641 | FirstOrDefault | 00:00:00.2981418 |
  19. ------------------------------------------------------------------------------------------------------------------------------------------------
  20. |7 | 1000 | 1000 | Include, foreach | 00:00:23.6236213 | foreach | 00:00:05.4142968 |
  21. ------------------------------------------------------------------------------------------------------------------------------------------------
  22. |8 | 1000 | 1000 | Include, foreach with ToList| 00:00:23.5413336 | foreach with ToList | 00:00:05.6094237 |
  23. ------------------------------------------------------------------------------------------------------------------------------------------------
  24. |9 | 1000 | 1000 | Include, foreach with Count | 00:00:23.4696566 | foreach with Count | 00:00:05.3992506 |
  25. ------------------------------------------------------------------------------------------------------------------------------------------------
  26. |10| 1000 | 1000 | Include, foreach with Where | 00:00:23.2747433 | foreach with Where | 00:00:05.3321489 |
  27. ------------------------------------------------------------------------------------------------------------------------------------------------
  28. |11| 1000 | 1000 | Where,ToList | 00:00:03.2379461 | ToList,Where | 00:00:02.6889438 |
  29. ------------------------------------------------------------------------------------------------------------------------------------------------
  30. |12| 1000 | 1000 | Where,Select,ToList | 00:00:02.2404855 | ToList,Where,Select | 00:00:02.8731791 |
  31. ------------------------------------------------------------------------------------------------------------------------------------------------
  32. |13| 1000 | 100 | Include, Console.WriteLine | 00:00:29.3585625 | Console.writeLine | 00:00:31.0927040 |
  33. ------------------------------------------------------------------------------------------------------------------------------------------------
  34. |14| 1000 | 100 | Select, Console.WriteLine | 00:00:29.0119321 | Console.writeLine | 00:00:31.1226552 |
  35. ------------------------------------------------------------------------------------------------------------------------------------------------
  36. |15| 1000 | 1000 | Select,OrderBy,ToList | 00:00:05.0935053 | ToList,Select,OrderBy | 00:00:02.6217577 |
  37. ------------------------------------------------------------------------------------------------------------------------------------------------
  38. |16| 1000 | 100 | Select,OrderBy,ToList,Print | 00:00:26.6191915 | ToList,Select,OrderBy,Print | 00:00:26.3339734 |
  39. ------------------------------------------------------------------------------------------------------------------------------------------------
  40. |17| 1000 | 1000 | Select,OrderBy,ToList | 00:00:05.1860684 |Native Select,OrderBy,ToList | 00:00:05.1629055 |
  41. ------------------------------------------------------------------------------------------------------------------------------------------------s
  42. |18| 1000 | 100 |Select,OrderBy,ToList,Print | 00:00:27.0050372 |Native same query,Print | 00:00:26.4543431 |
  43. ------------------------------------------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement