AutoSponge
  • Archive
  • Categories
  • Pages
  • Tags
  • Pooling Resources With The Object Pool Pattern

    08 Jul 2011

    I find the Object Pool pattern extremely useful. For starters, I can easily count how many instances of a class instantiated or replace a specific instance without worrying about which objects might still hold a reference to the old version.

    Read more...

  • Visiting The Visitor Pattern In Javascript

    02 Jul 2011

    The visitor pattern allows you to separate functionality from the object it functions on. We can often make use of this pattern when working with components and composites.

    Read more...

  • Jquery Type And Custom Types

    30 Jun 2011

    jQuery uses a clever bit of code to extract the type of a parameter.

    Read more...

  • Profile Jquery Selectors

    06 Jun 2011

    For performance reasons, I wanted to quickly audit what selectors a site used with jQuery. Using the script below, I evaluated the $profile object to get an idea of how often Sizzle was engaged and for what types of elements. It really helps to add this before document.ready (when all the Sizzle craziness starts) but after jQuery and your plugins load.

    Read more...

  • Adding Dynatrace Markers Dynamically

    26 May 2011

    While using dynaTrace with our app, we needed a way to inject markers dynamically. We also wanted the profiling code to have a minimal footprint, not run in production, give us the most accurate measurements, and not interact with production code.

    Read more...

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • »

© 2017 Paul Grenier with help from Jekyll Bootstrap and Twitter Bootstrap