Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chrome Dev Tools: Stylin' & Profilin'

Chrome Dev Tools: Stylin' & Profilin'

My presentation about Chrome profiling tools: CPU Profile, Heap Snapshot & Heap Allocations

Abel Martin

April 23, 2014
Tweet

Other Decks in Technology

Transcript

  1. Chrome Profilers warning: there will be flames! “1 request. I

    have ONE REQUEST and this is the response I get” ~ Abel “IWWCP” Martin
  2. Quote from Vyacheslav Egorov https://twitter.com/mraleph/statuses/411549064787152896 “Often devs still approach performance

    of JS code as if they are riding a horse cart but the horse had long been replaced with [a] fusion reactor” ~ @mraleph “Kenron dbrown .. still works... horse is uncorralled. .. you can't see its legs ... its probably...” ~ gregeng
  3. Quote from Ask A Foolish Question “In order to ask

    a question you must already know most of the answer.” ~ Robert Sheckly
  4. • Garbage Collection Issues • Memory Leaks • Closures •

    Third party libraries • Fourth party libraries!? Javascript make me feel... "David Aaron FUCKING JS!!!! AAAAAAHHHHH" ~ disha
  5. Audience Participation We can either checkout the tools in other

    browsers (spoiler alert: )… ...or get to the Chrome tools faster What say you? "You choose!" ~ Courtney Burton
  6. Where the browser tools at? "...fixed photo approval...for firefox baldur

    helped...mysql2...yagni…" ~ Kelly => “ ” ~ Everyone
  7. Where the browser tools at? "looks like Safari is getting

    an upgrade - nothing too fabulous yet." ~ disha
  8. Where the browser tools at? "gregeng: hahaha ughhhhh internet explorer

    8 updated itself to 9 without me doing anything..." ~ Bryan
  9. Demo: Heap Allocations & “oh shit i think i broke

    it; hawbot clojure (take 20 (repeatedly #(rand-int 100))).” ~ Bryan THE HEAP
  10. Yeah...but this is a lot of effort. True...but what if

    you could: • Run Capybara tests... • using Selenium Chrome Driver... • with API access to profiler tools... • saving profiler runs with commit SHA… “Bryan: the amount of work to do that vs just doing it manually in excel seems way out of proportion” ~ dbrown