dotnetomaniak.pl - Artykuły z tagiem dotTracedotnetomaniak.pl - Artykuły z tagiem dotTrace2024-03-29T10:42:15Zhttps://dotnetomaniak.pl/Tags/dotTraceCopyright (c) dotnetomaniak.pldotnetomaniak.pl Atom Generatordotnetomaniak.pl webmasteradmin@dotnetomaniak.plhttps://dotnetomaniak.pl/Assets/Images/fav.icohttps://dotnetomaniak.pl/Assets/Images/dotnetomaniak_logo-negatyw_small.png2025https://dotnetomaniak.pl/Local-optimizations-dont-add-up-IndexOutOfRange[EN] Local optimizations don't add up – IndexOutOfRange2016-05-19T20:57:50Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_JmTnSSi8I0mQqx44I9EEPQ.png"/></div><div>One of the main processes in cookit is dealing with extracting recipe information from raw html. I know it isn’t the most elegant solution but it is the only universal one.
But to the point.
Every web page goes through a process involving html parsing, stemming, parsing, and n-gram token matching. Then it’s saved to Sql Server and after transformation to Solr. So a lot of string manipulation, math calculations and from time to time mostly 0-gen GC.
In the most pessimistic case this process has to be r...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Local-optimizations-dont-add-up-IndexOutOfRange"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2findexoutofrange.com%2fLocalOptimizationsDontAddUp%2f" style="border:0px"/></a></div></div>maklipsahttps://dotnetomaniak.pl/Users/31yXhXxtM0GtdEekLLT8yw2016-05-29T12:21:45Zhttps://dotnetomaniak.pl/Local-optimizations-dont-add-up-IndexOutOfRange2600One of the main processes in cookit is dealing with extracting recipe information from raw html. I know it isn’t the most elegant solution but it is the only universal one.
But to the point.
Every web page goes through a process involving html parsing, stemming, parsing, and n-gram token matching. Then it’s saved to Sql Server and after transformation to Solr. So a lot of string manipulation, math calculations and from time to time mostly 0-gen GC.
In the most pessimistic case this process has to be r...http://indexoutofrange.com/LocalOptimizationsDontAddUp/http://dotnetomaniak.pl/Data/Thumbnails/small_JmTnSSi8I0mQqx44I9EEPQ.pnghttps://dotnetomaniak.pl/Profilowanie-aplikacji-przy-u%C5%BCyciu-dotTrace-netcodingblogProfilowanie aplikacji przy użyciu dotTrace - .net.coding.blog2011-01-11T21:58:41Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_N1lCrmjaeEKnGwR2XMGIjg.png"/></div><div>Profilowanie aplikacji przy użyciu dotTrace
Przyznam się, że nie miałem w planach poruszania tematu profilowania aplikacji jeszcze przez jakiś czas. Rozpoczęcie masowego importu danych ze strony sejmu do projektu Rankingu Sejmowego zmusiło mnie do zmiany planów. Po przerobieniu przez kilka godzin około 30% danych z ostatniej kadencji Sejmu (około 20 tysięcy plików HTML ważących razem 120 MB) zacząłem zastanawiać się czy dałoby się ten proces trochę przyspieszyć. Do badania wydajności kodu posłużyły mi dw...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Profilowanie-aplikacji-przy-u%C5%BCyciu-dotTrace-netcodingblog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fdubrownik.posterous.com%2f38658375" style="border:0px"/></a></div></div>Paweł Łukasikhttps://dotnetomaniak.pl/Users/lI7X-wDfeE2RoUfuiihoOg2011-01-21T18:39:23Zhttps://dotnetomaniak.pl/Profilowanie-aplikacji-przy-u%C5%BCyciu-dotTrace-netcodingblog72040Profilowanie aplikacji przy użyciu dotTrace
Przyznam się, że nie miałem w planach poruszania tematu profilowania aplikacji jeszcze przez jakiś czas. Rozpoczęcie masowego importu danych ze strony sejmu do projektu Rankingu Sejmowego zmusiło mnie do zmiany planów. Po przerobieniu przez kilka godzin około 30% danych z ostatniej kadencji Sejmu (około 20 tysięcy plików HTML ważących razem 120 MB) zacząłem zastanawiać się czy dałoby się ten proces trochę przyspieszyć. Do badania wydajności kodu posłużyły mi dw...http://dubrownik.posterous.com/38658375http://dotnetomaniak.pl/Data/Thumbnails/small_N1lCrmjaeEKnGwR2XMGIjg.png