To analyse CPU consumption of Firefox addons in SO [closed] - debugging

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I currently analyse inefficient Firefox addons by uninstalling them and seeing empirically in a long run whether the addon was a problem or not. However, this way of finding the inefficient addons is very time-consuming.
I would like to know exact numerical ways to see
the CPU consumption for each addon independently in Firefox
the CPU consumption for two different addons at the same time in Firefox (note that it is not practical to have two addons in your browser at each time and then measure the need in a long term)
It is apparently enough to measure only CPU, not memory consumption at all, to keep tests simple.
Is there any tool to measure CPU consumption for the combination of 2 in a set of addons?

No, unfortunately there is no such tool. The closest thing are various profiling tools (like Venkman), which can show you time spent in various JS functions, but aggregating that data to determine if an extension is inefficient will be tricky.
Mozilla also uses dtrace on Mac (with special builds of Firefox and special dtrace scripts) to analyze performance. I imagine it could be adapted for this too.

There is a Firefox add-on to see the memory usage: about addons memory.
Install the addon and open the page about:addons-memory, it will display the memory usage for all installed addon (including Firefox native addons).
You might also be interested by tab memory usage, which display memory usage for each opened tab.

Related

Best Process Monitor In Ruby [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
From experiences with process monitoring in Ruby, what do we recommend as the best process monitor. These are some of the features I'm interested in:
Efficient memory management without memory leaks
Monitor processes that are consuming a huge amount of RAM and automatically restart them
Optimum up time i.e automatically restart processes when they die off for some reason
Easy debugging i.e the process should still be able to log to a log file
I have used Eye gem now in one of our production apps and it's been running for the past 3 years. We haven't experienced any memory issues with it, although, we don't do heavy computational task with it.
Eye was inspired by God and Bluepill. So far, I haven't experienced any memory leaks with Eye. The eye process itself is super light weight. Uses just about few kilobytes of memory and less than 1% of CPU.
You also have various features with eye such as easy debugs, memory monitoring for processes, cpu monitoring, nested process configuration, mask matching etc.
Eye is awesome, I do recommend it.

Tools for scheduler debugging in Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed last year.
Improve this question
I have an embedded linux system containing two threads that must run in real time (or soft real time). When using SCHED_OTHER, I noted a lot of jitter but the two threads always executed within their allocated time.
I have applied the RT patch with PREEMPT_RT enabled, and running those two threads with SCHED_FIFO (with a high thread priority of ~80) leads to a lot less jitter, it's overall a lot better, except once and a while both threads miss their deadline (instead of executing every 10 ms or so, they may not get schedule for almost a second!).
I wanted to ask which tool is best when debugging linux scheduling (under RT) on an embedded Linux OS. ftrace came to mind, but I don't know if it is the best and/or only tool. My goal is to find out why the two threads don't get scheduled for an extensive amount of time once in a while.
UPDATE: I've been running ftrace today with wakeup_rt. wakeup_rt as a tracer didn't get the job done: the max latency it recorded was 5ms when my thread can run up to 1000ms late. Maybe it is not a scheduler issue? What other tracer in ftrace would you recommend please?
Try using rt-app which is used by scheduler developers.
You might also want to use SCHED_DEADLINE instead of SCHED_FIFO to reduce your jitter.

Web Performance Testing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for software/app that is advanced for testing web applications. I need to be able to report on speeds, bottlenecks, server responses, and more. The one big part of the testing tool is that I need to be able to report on the load times and response times because we have a proxy in the middle that we think is causing a bottleneck between the app and the server. Windows software or Mac app would be appreciated to know about.
I'm not sure if you've heard of New Relic, but its a great tool for testing your application end-to-end. It gives you complete performance visibility throughout your application. Easy to install and quick to setup.
Other than that, if you are just looking at profiling your front end performance, there are some great free tools such as WebPageTest and PageSpeed Insights. I'm also a big fan of the Google Chrome Developer Tools for finding front-end bottlenecks.
I have used Visual Studio 2013 for the same purpose. In VS, you can create several Web Performance Tests and then using these tests you can create a Load Test. I have used these Load Tests to find deadlocks, internal server errors etc. It gives you a details analysis in terms of average time for each request, which requests failed etc. And like all other Microsoft products, VS is easy to use and a lot of help is available online.

Software Design Implementation - Issue/Module/Bug/Feature Tracking Solution [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
The company is growing and we're starting to implement more and more complex software designs. I feel a need for some tracking software... I just don't know if it exists.
I currently maintain a Google Doc Folder (shared by our 3 developers) with a well-organized doc for each module. A doc is also created per major upgrade to a module or modules. For all other "tracking"... we have interal forums.
I want the following:
I want get an immediate printout of all Project_01 features or bug fixes on a particular project with the option to hide or show developer comments that have been implemented in the last X number of days.
This clearly suggests a web-based system where developers enter issues, bugs, and features with appropriate tagging. Entries should be commentable, taggable, dated, editable and reporting should be based upon tags, dates, developers, projects, etc.
I figure I'm going to be perceived as naive by the grizzled veterans floating around here, though I've been running this business for 4 years (so I've been around). I don't think we have the resources to absorb the overhead of implementing something like CMMI... but then again, I don't really know what's best.
My personal evolution to using Google Docs per Application Module + internal phpbb forums for everything else has been pretty nice compared to the way we started out (marker boards, Microsoft Word docs). I just feel like I can go a long ways towards exceeding client expectations if I had the ability to track features/bugs/issues better with superior on-demand reporting.
Thoughts?
Update: Went with MediaWiki integrated with Mantis
Take a look at fogbugz. It looks like it meets all your requirements.
Also, take a look at this other SO question: Free/Cheap Task/Bug Management software
I've good experiences with mantis. http://www.mantisbt.org
Yes, FogBugz and Trac are recommended.
I hope it helps.
I find this comparison of issue tracking systems either interesting or overwhelming.
I think with 3 developers, in the same building, you probably can get by without software tools. But, adopting something now, before you're so big/complex that you can't survive without it may save a lot of future pain.

What hardware changes will affect WebLogic performance the most? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
When requesting hardware for a WebLogic server, what hardware would best improve its performance? Should I give it lots of memory, CPU, fast hard drives? The OS is going to be Redhat 4 either Standard or Enterprise.
Memory is cheap. Give it as much as you can. 4 gigs is what, $50?
Depends on the applications you deploy on it. It's impossible to answer, given that we know nothing about the apps deployed, the hardware you have, and the myriad settings available on a typical Java EE app server.
More is always better. Supply the most memory, the biggest hard drives, the fastest multicore processors you can afford.
That of course depends a lot on what type of applications you run on the server. I know that our WebLogic portal eats quite a lot of memory (10+ gigs) while other apps make due with a lot less.

Resources