- 1). Open a Command Prompt. This can be done by navigating to "Start," "All Programs," "Accessories" and "Command Prompt." On Linux, click the menu button, then click on the Terminal. On Mac, access the Terminal in the programs folder.
- 2). Enter the following code into the Command Prompt.
ruby -rprofile YourScriptName.rb
The "-rprofile" before your script runs the Ruby profiler. The command returns a list of the methods that are taking a significant amount of time to complete. - 3). Analyze the methods in which your script is spending a significant amount of time. Depending on the nature of the method, certain optimizations may be possible. Eliminate any code that causes the computer to perform redundant computation.
Tags
MSDN
Microsoft Windows
Exchange server
Office
Visual Studio
Outlook
Solutions
Excel
win XP
NT
2003
technology
Microsoft Access
Excel
ffice
Powerpoint
Word
Oracle
Related Posts "Technology"
-
How to Install Arris Touchstone 501 in Windows XP
6/15/2019 7:34:00 AM -
How to Identify Unknown Communications Protocol
6/14/2019 7:27:00 PM
You might also like on "Technology"
How to Upgrade an XP Service Pack 1 to SP 2
6/14/2019 7:09:00 PM
What Is the Difference Between Microsoft Windows 98 & Microsoft Windows XP?
6/14/2019 7:07:00 PM
How to Get Sound with Boycott Advance
6/14/2019 8:44:00 AM
XP Update Packages
6/14/2019 8:34:00 AM
Toshiba Recovery Options
6/14/2019 8:26:00 AM
How to Install Memory for the HP Pavilion ZX6000
6/14/2019 7:46:00 AM
How to Make Your Own Windows CD
6/14/2019 7:42:00 AM
How to Hook Up Windows Media Center in Vista
6/13/2019 9:18:00 PM
How to Stop Tracking Cookies With Windows Vista
6/13/2019 9:17:00 PM
How do I Remove Start Up Items From Windows XP?
6/13/2019 8:36:00 PM
How to Set Up a FTP Site in Windows XP Pro
6/13/2019 8:35:00 PM
How to Remove Windows Antivirus 2008
6/13/2019 7:50:00 PM