{"id":726,"date":"2009-01-21T10:57:32","date_gmt":"2009-01-21T09:57:32","guid":{"rendered":"http:\/\/soci.hu\/blog\/?p=726"},"modified":"2009-01-21T10:57:32","modified_gmt":"2009-01-21T09:57:32","slug":"visual-studio-team-system-teljesitmenyanalizis","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2009\/01\/21\/visual-studio-team-system-teljesitmenyanalizis\/","title":{"rendered":"Visual Studio Team System teljes\u00edtm\u00e9nyanal\u00edzis"},"content":{"rendered":"<p>A Visual Studio sz\u00e1momra egyik egyik legkedvesebb eszk\u00f6ze a Profiler. Sz\u00e1mos c\u00e9gnek oldottam m\u00e1r meg vele teljes\u00edtm\u00e9nyprobl\u00e9m\u00e1kat, amelyeket profiler n\u00e9lk\u00fcl sokkal nehezebb lett volna.<br \/>\nA profiler arra k\u00e9pes, hogy egy fut\u00f3 program bels\u0151 r\u00e9szeinek fut\u00e1si idej\u00e9t k\u00e9pes m\u00e9rni. M\u0171k\u00f6dhet sampling m\u00f3dban, ilyenkor bizonyos id\u0151k\u00f6z\u00f6nk\u00e9nt (alapban 10 milli\u00f3 \u00f3rajelciklusonk\u00e9nt) belen\u00e9z a fut\u00f3 programba, \u00e9s megn\u00e9zi a verem \u00e1llapot\u00e1t, azaz, hogy \u00e9ppen melyik met\u00f3dusban van a vez\u00e9rl\u00e9s.<br \/>\nA m\u00e1sik m\u00f3d az instrumentation, ekkor k\u00f3dot injekt\u00e1lnak az futtatand\u00f3 assembly-kbe, \u00edgy bel\u00fclr\u0151l tudj\u00e1k m\u00e9rni, mi-mennyi ideig futott.<br \/>\nA sampling nem sokat lass\u00edt a m\u00e9rend\u0151 programon, de pontatlanabb, az intrumentation pontos, de nagyon sokat lass\u00edt a c\u00e9lprogramon.<br \/>\n\u00c9n els\u0151 k\u00f6rben a sampling-et haszn\u00e1lom, ha csak ki akarom sz\u00farni a k\u00f3d leglassabb r\u00e9sz\u00e9t. Az intrumentation megmutatja azt is, h\u00e1nyszor h\u00edvtak meg egy met\u00f3dust, azaz nem kell elvetni, csak m\u00e1sra val\u00f3, mint a sampling.<br \/>\nA teljes\u00edtm\u00e9nyhangol\u00e1sban az a sz\u00e9p, hogy intuit\u00edven sokszor nagyon m\u00e1st optimaliz\u00e1lna az ember, mint a m\u00e9r\u00e9sek alapj\u00e1n.<br \/>\n<a target=\"_blank\" href=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2009\/01\/profiler1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2009\/01\/profiler1-300x156.jpg\" alt=\"\" title=\"Profiler kimenet\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-727\" srcset=\"https:\/\/soci.hu\/blog\/wp-content\/uploads\/2009\/01\/profiler1-300x156.jpg 300w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2009\/01\/profiler1-600x313.jpg 600w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2009\/01\/profiler1.jpg 1487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Az \u00e1br\u00e1n az l\u00e1tszik, hogy az id\u0151 jelent\u0151s r\u00e9sz\u00e9t a DateTime.Hour h\u00edv\u00e1s viszi el. Kicsit gyan\u00fas ez, de s\u0171r\u0171bb mintav\u00e9tellel vagy instrumentation seg\u00edts\u00e9g\u00e9vel jobban r\u00e1 lehet n\u00e9zni a k\u00f6rm\u00e9re. Ha igaza van (val\u00f3sz\u00edn\u0171), akkor ez pont olyan pont, amire \u00e1lmomban nem gondoltam volna.<\/p>\n<p>\u00c9rdemes megfigyelni m\u00e9g, hogy a fels\u0151 toolbaron van egy l\u00e1ng ikon, arra kattintva a h\u00edv\u00e1si f\u00e1ban azonnal levisznek a leglassabb met\u00f3dushoz. Egyszer\u0171, de szenz\u00e1ci\u00f3s. Ez a 2008-ban jelent meg.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Visual Studio sz\u00e1momra egyik egyik legkedvesebb eszk\u00f6ze a Profiler. Sz\u00e1mos c\u00e9gnek oldottam m\u00e1r meg vele teljes\u00edtm\u00e9nyprobl\u00e9m\u00e1kat, amelyeket profiler n\u00e9lk\u00fcl sokkal nehezebb&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4,61,59],"tags":[],"class_list":["post-726","post","type-post","status-publish","format-standard","hentry","category-net","category-szakmai-elet","category-visual-studio","category-vs-2008"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=726"}],"version-history":[{"count":2,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/726\/revisions"}],"predecessor-version":[{"id":730,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/726\/revisions\/730"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}