{"action":"opened","issue":{"url":"https://api.github.com/repos/BoostIO/Boostnote/issues/153","repository_url":"https://api.github.com/repos/BoostIO/Boostnote","labels_url":"https://api.github.com/repos/BoostIO/Boostnote/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/BoostIO/Boostnote/issues/153/comments","events_url":"https://api.github.com/repos/BoostIO/Boostnote/issues/153/events","html_url":"https://github.com/BoostIO/Boostnote/issues/153","id":183688306,"number":153,"title":"High CPU usage during typing of larger notes","user":{"login":"tejado","id":3774136,"avatar_url":"https://avatars.githubusercontent.com/u/3774136?v=3","gravatar_id":"","url":"https://api.github.com/users/tejado","html_url":"https://github.com/tejado","followers_url":"https://api.github.com/users/tejado/followers","following_url":"https://api.github.com/users/tejado/following{/other_user}","gists_url":"https://api.github.com/users/tejado/gists{/gist_id}","starred_url":"https://api.github.com/users/tejado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejado/subscriptions","organizations_url":"https://api.github.com/users/tejado/orgs","repos_url":"https://api.github.com/users/tejado/repos","events_url":"https://api.github.com/users/tejado/events{/privacy}","received_events_url":"https://api.github.com/users/tejado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T13:36:45Z","updated_at":"2016-10-18T13:36:45Z","closed_at":null,"body":"I noticed today, that the CPU usage of Boostnote has a peak when I'm enter one character inside a note. This peak adds a delay to the typing and the editor feels slower (which is increasing with the size of the note). It happens for me only in larger notes (>100 lines of code).\r\nI guess this is due to the notefile writing after each character but hadn't any look into the code yet. If this is the case, I would suggest that Boostnote should only write the file in a background thread every 10 seconds of if there is no note input anymore for X (e.g. 5) seconds.\r\n\r\nHardware: MacBook Air 2010 including a SSD. Will try this later on my workstation."}}
{"actor":{"display_login":"tejado"}}