Giter Site home page Giter Site logo

Comments (4)

wallin avatar wallin commented on August 25, 2024

Good suggestion! I'm a frequent user of the angular-bind-once directive as well. I like the idea of being able to tell the directive that the source ain't gonna change.

I'll get to it!

BTW. if you haven't tried it already the Angular batarang chrome plugin is a great tool for finding performance bottle necks. https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk?hl=en

from angular-gravatar.

henrik avatar henrik commented on August 25, 2024

Awesome, thanks!

Yeah, I've played a little with that plugin, but I read up a little and experimented further now.

On page load I get a total of around 0.5–3 ms for my 400 gravatars, if I read the numbers correctly. And every time I do something to trigger digests, it seems to add another 2 ms or so to that total. It amounts to around 20% of the total watch expression cost. Would definitely be cool to get rid of that after the first load.

from angular-gravatar.

henrik avatar henrik commented on August 25, 2024

👍 🎉 Thank you!

from angular-gravatar.

henrik avatar henrik commented on August 25, 2024

Tried it in my project and it seems to work. Nary a blip in Batarang.

from angular-gravatar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.