# Chapter 8: Couldn't see the performance difference in Department List ViewController Tests

**URL:** <https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643>\
**Category:** Core Data by Tutorials\
**Created:** [April 25, 2019, 7:18am UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643 "2019-04-25T07:18:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![duckmole](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/duckmole/32/109222_2.png) [@duckmole](https://forums.kodeco.com/u/duckmole)\
**Post date:** [April 25, 2019, 7:18am UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643/1 "2019-04-25T07:18:37Z")

</div>

Hi, I just test the DepartmentListViewControllerTests in simulator, iPhone7Plus, iPhone6s, iPhone5s, and the time difference between testTotalEmployeesPerDepartment() and testTotalEmployeesPerDepartmentFast() is really small, wonder why this happen?

![56](https://files.chunter.kodeco.com/original/3X/8/2/82aeaf2c577e9fe34290dc82f89bbb42b0e25c88.png) ![35](https://files.chunter.kodeco.com/original/3X/0/3/03f7f6bba9b04a38e8e2f7d37bda445fd10a8067.png) ![19](https://files.chunter.kodeco.com/original/3X/9/8/98263d4d9d661b171f45d7ab8da975e660bc826d.png) ![29](https://files.chunter.kodeco.com/original/3X/2/0/209657964605f4e74b31121af9c74ea7d3c62d2c.png)

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [May 1, 2019, 10:25pm UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643/2 "2019-05-01T22:25:15Z")

</div>

@duckmole Have you also tested the chapter’s sample project?

---

<div class="post-metadata">

**Author:** ![duckmole](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/duckmole/32/109222_2.png) [@duckmole](https://forums.kodeco.com/u/duckmole)\
**Post date:** [May 6, 2019, 7:45am UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643/3 "2019-05-06T07:45:21Z")

</div>

Yes, I tested the final project with simulator and iPhone7Plus.

---

<div class="post-metadata">

**Author:** ![sgerrard](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sgerrard/32/93812_2.png) [@sgerrard](https://forums.kodeco.com/u/sgerrard)\
**Post date:** [May 7, 2019, 5:14am UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643/4 "2019-05-07T05:14:57Z")

</div>

The tests run pretty fast. You would need a bigger data set, not just 50 employees in 6 departments, to really notice the difference. Try 5000 employees and 60 departments and it would probably be pretty obvious.

This was on the XR simulator:

![22%20PM](https://files.chunter.kodeco.com/original/3X/f/a/fab2e38ccff7174efad61e68bd7037a42d194851.png)

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [October 8, 2019, 11:18pm UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643/5 "2019-10-08T23:18:37Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
