{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/775","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-net","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/775/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/775/events","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/775","id":189840951,"number":775,"title":"CB 1.3 - Sync progressively slows down when ILogger is set","user":{"login":"Steven-Mark-Ford","id":1920816,"avatar_url":"https://avatars.githubusercontent.com/u/1920816?v=3","gravatar_id":"","url":"https://api.github.com/users/Steven-Mark-Ford","html_url":"https://github.com/Steven-Mark-Ford","followers_url":"https://api.github.com/users/Steven-Mark-Ford/followers","following_url":"https://api.github.com/users/Steven-Mark-Ford/following{/other_user}","gists_url":"https://api.github.com/users/Steven-Mark-Ford/gists{/gist_id}","starred_url":"https://api.github.com/users/Steven-Mark-Ford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Steven-Mark-Ford/subscriptions","organizations_url":"https://api.github.com/users/Steven-Mark-Ford/orgs","repos_url":"https://api.github.com/users/Steven-Mark-Ford/repos","events_url":"https://api.github.com/users/Steven-Mark-Ford/events{/privacy}","received_events_url":"https://api.github.com/users/Steven-Mark-Ford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-16T20:52:34Z","updated_at":"2016-11-23T10:21:46Z","closed_at":null,"body":"Since updating from CB 1.1.2 to 1.3.0 we found that syncs ran progressively slower as more data was synced to a device. When 100s of  MB of data needed to be synced it was found that the sync could take up to 10x as long. \r\n\r\nWe managed to track it down to the ILogger: commenting out Couchbase.Lite.Util.Log.SetLogger made the sync fast again. \r\n\r\nInitially I suspected the error might have been in our apps ILogger implementatoin, e.g. I suspected we  might have been doing some heavy-serialisation of log objects etc. But I created a new ILogger implementation which did nothing (i.e. just implemented the ILogger interface with empty methods) and found the slow sync issue still persisted."},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/comments/262477306","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/775#issuecomment-262477306","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/775","id":262477306,"user":{"login":"Steven-Mark-Ford","id":1920816,"avatar_url":"https://avatars.githubusercontent.com/u/1920816?v=3","gravatar_id":"","url":"https://api.github.com/users/Steven-Mark-Ford","html_url":"https://github.com/Steven-Mark-Ford","followers_url":"https://api.github.com/users/Steven-Mark-Ford/followers","following_url":"https://api.github.com/users/Steven-Mark-Ford/following{/other_user}","gists_url":"https://api.github.com/users/Steven-Mark-Ford/gists{/gist_id}","starred_url":"https://api.github.com/users/Steven-Mark-Ford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Steven-Mark-Ford/subscriptions","organizations_url":"https://api.github.com/users/Steven-Mark-Ford/orgs","repos_url":"https://api.github.com/users/Steven-Mark-Ford/repos","events_url":"https://api.github.com/users/Steven-Mark-Ford/events{/privacy}","received_events_url":"https://api.github.com/users/Steven-Mark-Ford/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T10:21:46Z","updated_at":"2016-11-23T10:21:46Z","body":"@borrrden Would you be able to run a sync and compare times before and after logger attached. The more data that is synced the bigger the difference in time should be.  If you cannot replicate then let me know and I will see if I can do a profile."}}
{"actor":{"display_login":"Steven-Mark-Ford"}}