Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6980341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:00:14+00:00 2026-05-27T18:00:14+00:00

When profiling my JavaScript with FireBug, functions like jQuery.clone() stands for almost 50% of

  • 0

When profiling my JavaScript with FireBug, functions like jQuery.clone() stands for almost 50% of the consumed time:

Function  | call|  %  |  own  |  time  |  avg |  min  |  max  |     file 
_____________________________________________________________________________
clone     | 400 | 42% | 840ms | 1332ms | 3s   | 0.1ms | 13.ms | jquery.min.js 
clone     | 138 | 13% | 267ms | 1038ms | 7ms  | 5ms   | 16.ms | jquery.min.js 
template  | 338 | 6%  | 125ms | 185ms  | 0.5ms| 0.2ms | 1.6ms | underscore.js 
fadeImage | 398 | 3%  | 79ms  | 146ms  | 0.8ms| 0.1ms | 2.7ms | ondemand.js 

I am not calling clone() my self, and I have problems understanding why it is called that often. I have a backbone.js app with a lot of subviews – that could be a reason – but thats just guessing.

Is there a way to profile not only how often a call is made, but also how it was triggered?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:00:15+00:00Added an answer on May 27, 2026 at 6:00 pm

    If you use firebug for debugging its possible to use console.trace() which outputs the stacktrace. So you can see which function has called this function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Javascript is an incredible language and libraries like jQuery make it almost too easy
Through profiling I've discovered that the sprintf here takes a long time. Is there
I am running some profiling tests, and usleep is an useful function. But while
My latest project is using a javascript framework (jQuery), along with some plugins (validation,
I want to try some different options with some javascript (jQuery) to see which
jQuery is currently providing me with a fun introduction to Javascript after 12 years
There are some decent JavaScript-based RTEs out there, but when it comes to jQuery
Is there a way to get the time a piece of JavaScript actually runs
I have a javascript as <script type=text/JavaScript> function CalculateDistance (plat1, plon1, plat2, plon2) {
Is there a tool/plugin/function for Firefox that'll dump out a memory usage of Javascript

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.