Code Monkey home page Code Monkey logo

Comments (10)

divyenduz avatar divyenduz commented on May 24, 2024 1

Thanks, I will start this weekend, hopefully. 👍

from flask-profiler.

muatik avatar muatik commented on May 24, 2024

currently, there is not such a feature. but it would be a useful feature.

from flask-profiler.

divyenduz avatar divyenduz commented on May 24, 2024

I think I can take this up and line up a PR ?
Should I go ahead ?

from flask-profiler.

muatik avatar muatik commented on May 24, 2024

that sounds great :) but first, should we discuss a little how the feature will be?

if we choose 1 in 100 in an arbitrary way, or random, then the summary section may have strange results. there may be a setting directive to tune the ratio, in some apps it would be 1/10, or 1/1M?

from flask-profiler.

divyenduz avatar divyenduz commented on May 24, 2024

Yes, a discussion is much needed on this :)

So, broadly when we take random sample with 1/100 probability, we rely on math to get us 1% of the sample set | https://en.wikipedia.org/wiki/Normal_distribution

Which is why this works well for XHGui and this is normally suggested when you ask questions about this topic | http://stackoverflow.com/questions/12364622/php-how-to-run-sampling-profiler-in-production

Do you have another approach in mind for getting a sample set ?

Thanks

from flask-profiler.

muatik avatar muatik commented on May 24, 2024

okay, let's go with this.

from flask-profiler.

divyenduz avatar divyenduz commented on May 24, 2024

Cool, I will start soon. Do you have another release date in mind, I will try to cover this before that ?

from flask-profiler.

muatik avatar muatik commented on May 24, 2024

nope, actually there isn't a planned release. so, feel free while working on this; as soon as possible this feature is completed a new release can be presented.

from flask-profiler.

divyenduz avatar divyenduz commented on May 24, 2024

The initial PR is prepared. Let's discuss the implementation when you get a chance ?

from flask-profiler.

divyenduz avatar divyenduz commented on May 24, 2024

@muatik : With #45 merged, I think this issue can be closed. Planning a release anytime soon ?

Thanks,

from flask-profiler.

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.