{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11004","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11004/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11004/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11004/events","html_url":"https://github.com/JuliaLang/julia/pull/11004","id":70875968,"number":11004,"title":"Fix performance issues with UTF conversions (#10959)","user":{"login":"ScottPJones","id":11798751,"avatar_url":"https://avatars.githubusercontent.com/u/11798751?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottPJones","html_url":"https://github.com/ScottPJones","followers_url":"https://api.github.com/users/ScottPJones/followers","following_url":"https://api.github.com/users/ScottPJones/following{/other_user}","gists_url":"https://api.github.com/users/ScottPJones/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottPJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottPJones/subscriptions","organizations_url":"https://api.github.com/users/ScottPJones/orgs","repos_url":"https://api.github.com/users/ScottPJones/repos","events_url":"https://api.github.com/users/ScottPJones/events{/privacy}","received_events_url":"https://api.github.com/users/ScottPJones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/unicode","name":"unicode","color":"5f4a60"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":236,"created_at":"2015-04-25T08:18:36Z","updated_at":"2015-05-27T16:06:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11004","html_url":"https://github.com/JuliaLang/julia/pull/11004","diff_url":"https://github.com/JuliaLang/julia/pull/11004.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11004.patch"},"body":"Rewrote a number of the conversions between ASCIIString, UTF8String,\nUTF16String, and UTF32String, and also rewrote length() for\nUTF16String()."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/105978256","html_url":"https://github.com/JuliaLang/julia/pull/11004#issuecomment-105978256","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11004","id":105978256,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T16:06:12Z","updated_at":"2015-05-27T16:06:12Z","body":"@ScottPJones, I asked for profiling from a real application on April 25, almost a month ago.  So yes, weeks.\r\n\r\nYou don't need to use profiling tools to just `@time` operations individually and compare the times.   Since there is no reason to expect that optimized database-access code in Julia would be significantly slower than database access in C, you can just time some C/C++ code to access a database.  I find it hard to believe that, given your oft-mentioned 30 years of experience, you don't have some representative C/C++/whatever code lying around to access databases that you can time.\r\n\r\nGiven that, it's really quite simple: time (in C) loading N bytes from a database; `@time` in Julia converting N bytes; `@time` in Julia doing a regex search (really timing the PCRE library).  But I suspect you could have figured this out for yourself if you wanted to report relative timings, no?"}}