{"action":"created","issue":{"url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/1","labels_url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/1/comments","events_url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/1/events","html_url":"https://github.com/tallforasmurf/PPQT2/issues/1","id":58845026,"number":1,"title":"bookloupe result is slow and too verbose","user":{"login":"bibimbop","id":2986278,"avatar_url":"https://avatars.githubusercontent.com/u/2986278?v=3","gravatar_id":"","url":"https://api.github.com/users/bibimbop","html_url":"https://github.com/bibimbop","followers_url":"https://api.github.com/users/bibimbop/followers","following_url":"https://api.github.com/users/bibimbop/following{/other_user}","gists_url":"https://api.github.com/users/bibimbop/gists{/gist_id}","starred_url":"https://api.github.com/users/bibimbop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibimbop/subscriptions","organizations_url":"https://api.github.com/users/bibimbop/orgs","repos_url":"https://api.github.com/users/bibimbop/repos","events_url":"https://api.github.com/users/bibimbop/events{/privacy}","received_events_url":"https://api.github.com/users/bibimbop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tallforasmurf/PPQT2/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-25T03:29:42Z","updated_at":"2015-03-13T03:03:20Z","closed_at":null,"body":"When I tried bookloupe, my machine hanged for about a minute. Then I got a very long list of \"Non-ASCII characters\". Which is true, but I don't care since it's a French document. PPQT should be smart and pass some options to disable that check if there is too many non-ascii or latin1 character. It means it's intentional.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/comments/78767535","html_url":"https://github.com/tallforasmurf/PPQT2/issues/1#issuecomment-78767535","issue_url":"https://api.github.com/repos/tallforasmurf/PPQT2/issues/1","id":78767535,"user":{"login":"bibimbop","id":2986278,"avatar_url":"https://avatars.githubusercontent.com/u/2986278?v=3","gravatar_id":"","url":"https://api.github.com/users/bibimbop","html_url":"https://github.com/bibimbop","followers_url":"https://api.github.com/users/bibimbop/followers","following_url":"https://api.github.com/users/bibimbop/following{/other_user}","gists_url":"https://api.github.com/users/bibimbop/gists{/gist_id}","starred_url":"https://api.github.com/users/bibimbop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibimbop/subscriptions","organizations_url":"https://api.github.com/users/bibimbop/orgs","repos_url":"https://api.github.com/users/bibimbop/repos","events_url":"https://api.github.com/users/bibimbop/events{/privacy}","received_events_url":"https://api.github.com/users/bibimbop/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T03:03:20Z","updated_at":"2015-03-13T03:03:20Z","body":"Book is 1MB.\r\n\r\nRunning with your options:\r\n\r\n    # time ../bookloupe -d -e -s -t -l -m -v projectID446ff259200bf.txt | wc\r\n    bookloupe: Check and report on an e-text\r\n    18772  150113  929612\r\n\r\n    real\t0m17.738s\r\n    user\t0m17.613s\r\n    sys\t0m0.252s\r\n\r\nSame but as utf8:\r\n\r\n    # time ../bookloupe --charset=utf8 -d -e -s -t -l -m -v projectID446ff259200bf.txt | wc\r\n    bookloupe: Check and report on an e-text\r\n    1361   10821   56619\r\n\r\n    real\t0m17.740s\r\n    user\t0m17.552s\r\n    sys\t0m0.198s\r\n\r\nUnder ppqt2, the first one takes 31s to display, and the second takes 20s. So not really 1minute (sorry!). I guess the number of lines to put in that array is important (18k lines compared to 1361)."}}