473,537 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript minimizer and profiler

Hi,

I'm interested in two applications for javascript. A profiler and a
minimizer. I found several, but I am hoping to hear with which
applications some of you guys have a good experience. I prefer open
source projects.

The minimizer should make the javascript small. Not just removing
white-space and comments, but also make object names very small. This
will probably obfuscate things, but the goal does not have to be
obfuscation.

The profiler should show all functions, how much time was spent inside
it (percentage and absolute time), with and without calls to other
methods, etc. Just like another "real language" profiler.

Any suggestions?

Robert.
Jun 22 '06 #1
3 4161
Robert wrote:
The profiler should show all functions, how much time was spent inside
it (percentage and absolute time), with and without calls to other
methods, etc. Just like another "real language" profiler.


http://www.softwareverify.com/javaSc...tor/index.html

I haven't tried this tool, but I use their code coverage validator with much
success.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Jun 22 '06 #2

Robert wrote:
The profiler should show all functions, how much time was spent inside
it (percentage and absolute time), with and without calls to other
methods, etc. Just like another "real language" profiler.


For profiling you can use Venkman, which is a Firefox extension.

Jun 22 '06 #3
In message <44***********************@news.xs4all.nl>, Robert
<ro****@noreply.x> writes
The profiler should show all functions, how much time was spent inside
it (percentage and absolute time), with and without calls to other
methods, etc. Just like another "real language" profiler.


JavaScript Performance Validator. Commercial software tool, currently in
beta.

Just like other profilers - in fact it has the same UI (barring
differences for languages) as the C++, Delphi, Visual Basic, Java,
Python, Ruby, Lua, Perl and PHP profilers with the same name (so if you
are writing an AJAX app using Ruby on Rails the profiler for both Ruby
on Rails and JavaScript would look and behave identically if you used
the JavaScript Performance Validator and Ruby Performance Validator).
The UI looks and behaves the same, the underlying "engine" is different,
tailored to the language in use.

Real time callstack viewing, statistics, analysis, relations, call graph
and call tree and line timing support. XML and HTML data export.

Works with Firefox 1.0, 1.5 and Flock 0.7. Windows only at the moment.

http://www.softwareverify.com
http://www.softwareverify.com/javaSc...tor/index.html

Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
Jun 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2548
by: yawnmoth | last post by:
The ? symbol serves a number of purposes in PCRE. The quantifer minimizer usage is the one I'm currious about. Specifically, the output from a test script isn't what I'm expecting, and I'm wondering why. Here's the script: <? echo preg_replace('#.*?b#','','aabbc'); ?>
0
1866
by: Jeff Mair | last post by:
Hello all, I haven't been using profiler for a terribly long time, and I've come across something that I just can't figure out. I'm running MS Virtual PC to run a Win2K Server OS with SQL Server 2000 (sp3 i think). Whenever I start up SQL Profiler - even immediately after a bootup, if I try to pause, stop, or exit out of profiler, it...
9
3262
by: Franco Gustavo | last post by:
Hi, All What's is the best .net profiler for Debug an application. I have to buy one but I don't know which one!! I tried some of them like Borland and AQTime. My big problem is, my application is a big application, and many times I have many EventHandlers associated to an object, then this object never is free from the memory. AQTime...
8
2137
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener class to write to files, databases, etc..., but I would really like to attach to running .NET processes and get the results without any logging and...
27
3302
by: Tom Cole | last post by:
I'm starting to do more quantity of javascript coding and thought this might be a good time to investigate code styling. I primarily develop in Java and currently use the code styling techniques spelled out for Java. For example, in my code blocks ( {} ) I always place the starting brace on the same line as the first line of code. For...
2
3691
by: Laurent Bugnion [MVP] | last post by:
Hi group, A few years ago, I translated Douglas Crockford's JsMin from C to C#, because we wanted to use this functionality in our build process. JsMin is a code minimizer for JavaScript. It will remove all comments, empty lines, turn tabs into single spaces, etc... The goal is to reduce the size of JavaScript files to the minimum...
11
5146
by: =?iso-8859-1?q?Martin_M=FCcke?= | last post by:
Hi, I am looking for a good javascript obfuscator - I found several on the web, but I am looking for one that can also handle javascript in jsp, html and java files - so I need a javascript obfuscator that handles my entire web project. Is there anything like that, preferable as a Eclipse plugin? Thanks,
3
3672
by: Sam Samson | last post by:
Can any-one recommend some good sites detailing how to code a simple memory profiler? How do they "look under the hood"? I built an uber simple service that tracks the process' memory but I need to "get inside" and look a bit deeper and I don't have a clue where to start ... a commercial memory profiler is not an option due the nature of...
0
5037
by: anweshadash | last post by:
Using SQL Profiler: (Ref: http://msdn2.microsoft.com/en-us/library/ms181091.aspx) Sometimes it’s very beneficial to use sql profiler. Let’s have an idea about that and how to use that by taking some scenarios. Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the SQL Server Database...
0
7359
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7530
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7680
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5823
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4843
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3342
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
920
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
576
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.