{"action":"created","issue":{"url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/475","repository_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions","labels_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/475/comments","events_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/475/events","html_url":"https://github.com/dennisdoomen/FluentAssertions/issues/475","id":174218912,"number":475,"title":"To many overheads when executing many tests on same objects","user":{"login":"IgorVyatkin","id":743533,"avatar_url":"https://avatars.githubusercontent.com/u/743533?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorVyatkin","html_url":"https://github.com/IgorVyatkin","followers_url":"https://api.github.com/users/IgorVyatkin/followers","following_url":"https://api.github.com/users/IgorVyatkin/following{/other_user}","gists_url":"https://api.github.com/users/IgorVyatkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorVyatkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorVyatkin/subscriptions","organizations_url":"https://api.github.com/users/IgorVyatkin/orgs","repos_url":"https://api.github.com/users/IgorVyatkin/repos","events_url":"https://api.github.com/users/IgorVyatkin/events{/privacy}","received_events_url":"https://api.github.com/users/IgorVyatkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-31T08:53:27Z","updated_at":"2016-08-31T10:28:46Z","closed_at":null,"body":"There are to many infrastructure (reflection and lambda compilation) overheads when we many times executing a test with different data, In our case we have the one NUnit test that receives about 20k complex data records (many level hierarchy with object, collection etc) from the test data provider.\r\n\r\nI've checked execution pats with dotTrace and found that about 90% of execution time take infrastructure tasks such as reflection calls and lambdas compilations. It happens because every comparison prepares information about comparing objects from scratch.\r\n\r\nAs I understand some reflection and lambda caches should be added to avoid this issue."},"comment":{"url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/comments/243723881","html_url":"https://github.com/dennisdoomen/FluentAssertions/issues/475#issuecomment-243723881","issue_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/475","id":243723881,"user":{"login":"dennisdoomen","id":572734,"avatar_url":"https://avatars.githubusercontent.com/u/572734?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisdoomen","html_url":"https://github.com/dennisdoomen","followers_url":"https://api.github.com/users/dennisdoomen/followers","following_url":"https://api.github.com/users/dennisdoomen/following{/other_user}","gists_url":"https://api.github.com/users/dennisdoomen/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisdoomen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisdoomen/subscriptions","organizations_url":"https://api.github.com/users/dennisdoomen/orgs","repos_url":"https://api.github.com/users/dennisdoomen/repos","events_url":"https://api.github.com/users/dennisdoomen/events{/privacy}","received_events_url":"https://api.github.com/users/dennisdoomen/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T10:28:46Z","updated_at":"2016-08-31T10:28:46Z","body":"> No, we're using FA in the following very simple way:\r\n\r\nIf you know that the order is relevant, you might want to use `UseStrictOrdering`. That will prevent FA from comparing every value with every other value. "}}
{"actor":{"display_login":"dennisdoomen"}}