Skip to main content

Posts

Showing posts with the label performance

L&T (Fidelity) Equity Fund

I had made my first equity investment in the NFO of Fidelity, way back in 2005. I was looking into the financial products available for small investors and was thinking of exploring equity markets. Fidelity had then introduced its maiden equity fund in India, named Fidelity Equity Fund. I had heard about Fidelity, did some research on its background and based on that decided to make a small investment in this fund. Luckily, some Investment Agent had called me for selling some other fund at that time (probably one of ABN Amro funds). Instead of investing in his recommendations, I asked him to invest in Fidelity Equity Fund. I remember he tried to discourage me from doing so (he was linked to ABN Amro Bank) but I persisted. So, thats how I made my first equity investment! Years passed on and I am still invested in the fund. Only change is that it is now known as L&T Equity Fund (sadly, Fidelity withdrew from Indian mutual funds in 2012 or 2013). It has been a topsy-turvy ride in ...

Google's new Web Protocol SPDY

Google has purposed a new application protocol running on SSL, intended to make the web faster, and have called it SPDY (pronounced "SPeeDY"). Google calls SPDY an application-layer protocol for transporting content over the web. PDY is designed specifically for minimal latency. As per Google, "HTTP is the application level protocol providing basic request/response semantics. While we believe that there may be opportunities to improve latency at the transport layer, our initial investigations have focussed on the application layer, HTTP. Unfortunately, HTTP was not particularly designed for latency. Furthermore, the web pages transmitted today are significantly different from web pages 10 years ago such and demand improvements to HTTP that could not have been anticipated when HTTP was developed..." "SPDY replaces some parts of HTTP, but mostly augments it. At the highest level of the application layer, the request-response protocol remains the same. SPDY...

Monitor and diagnose performance in Java SE 6

Java™ Platform, Standard Edition 6 (Java SE) focuses on performance, with expanded tools for managing and monitoring applications as well as diagnosing common problems. This article outlines the basis of monitoring and management in the Java SE platform and provides detailed information about the relevant enhancements in Java SE 6. Java SE 6 provides an in-depth focus on performance, offering expanded tools for managing and monitoring applications and for diagnosing common problems. The improvements include: Monitoring and management API enhancements Official support for an improved graphical monitoring tool called JConsole Enhanced instrumentation of the Java virtual machine (JVM) This article outlines the basis of monitoring and management in the Java SE platform and provides detailed information about the performance monitoring and management enhancements in the latest release. It also describes the diagnostic and troubleshooting tools available in the Java SE 6 platform. Link: Moni...

5 ways to speedup javascript

From http://www.whenpenguinsattack.com/2007/08/20/5-ways-to-speedup-javascript/ 1) use a compressor JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation. 2) Minimize the number of .js files Each .js file reference on a web page means another http request from a client's browser. Although it may decrease the readability/maintainability of your code, it is faster to have one larger .js file than multiple smaller ones. 3) use profiler and timer tools Firebug offers a suite of profiler and timing tools that allows you to see exactly how long your scripts take to execute and gives you the ability to tweak and optimize them. 4) asynchronize your code Browsers run Javascript code synchronously. This means that when a <script></script> tag h...

Reference Guide: HProf

InformIT has published a user guide to HProf, the Java profiling tool from Sun. Sun includes a profiling tool built into the JVM called HProf that can provide you with method-level response times as well as heap information. The JVM provide various programmatic interfaces that allow you to obtain runtime information, and as of Java 5.0 SE, the newest and least invasive is the Java Virtual Machine Tool Interface(JVMTI), which HProf is based on. HProf can be invoked by providing a command line option when you start your Java application and then it generates a log file as output, which you can either examine manually or programmatically parse. Furthermore, HProf executions can be integrated into a build script in order to generate reports automatically. http://www.informit.com/guides/printerfriendly.aspx?g=java&seqNum=363