Website Page load times on the dev machine are only a rough indicator of performance of course, and there will be many other factors when moving to production, but they're still useful as a yard-stick.
So, I was just wondering what page load times you aim for when you're developing?
I mean page load times on Dev Machine/Server
And, on...
Hello,
My organization currently uses a customized solution of a portal application which is used both as a Knowledge Management Portal and an intranet solution.
The problem is this - All the images used in the application are stored in a folder called the image-store which resides in my search server rather than my web-server.
Whe...
Suppose we are developing class which implements simple CRUD operations for working with DB. This class also maintain cache for increasing performance.
public class FooTableGateway {
Map<Integer, Foo> id2foo = new HashMap<Integer, Foo> ();
public void getFoo (int id) {
if (id2foo.containsKey (id) {
return id2foo.g...
I wrote a basic Hippity Hop program in C, Python, and OCaml. Granted, this is probably not a very good benchmark of these three languages. But the results I got were something like this:
Python: .350 seconds
C: .050 seconds
interpreted OCaml: .040 seconds
compiled OCaml: .010
The python performance doesn't really surprise me, bu...
I came across this as I was trying to learn array and vectors in c++. What is the "paging effect" mentioned in the post? Also, just to check my own understanding, I think vector uses more time is because of the dynamic memory allocation. Am I right?
additional question:
but with vector<int> arr( 10000 ) isn't there already enough memo...
I've got a database of historical records from WW2 and currently each recorded event's date is stored in one integer field as YYMMDDHHMM. This makes simple tasks like ORDER BY, or searching for all events within a certain time period extremely easy. However, if somebody wants all events that occurred on December 1st in any year of the wa...
Hi folks,
we develop the webapp with Grails. In productio the webapp runs on Jetty. We used JMeter to run performance-test and yourkit to analyse the memory consumtion of jetty.
We started Jetty with params -Xms1500m -Xmx1500m, so in yourkit we can also see the allocated memory is about 1,5gb. But Jetty does not use it all, all time al...
Hi everyone.
I'm developing high load solution with final version of asp.net mvc.
Recently our team noticed, that most of the time that takes a server to response to client is devoted to page rendering. Simple time-schedule looks like this:
Page start - 1.8608363s
Render module 1140/Modules/Owners start - 1.86859s
Render module...
I noticed that 10% my code run is system space. However I do NOT know which system calls. I suspect, though, it is either has to do files or timestamps.
Is there a tool to figure out which system calls are the culprits? Also, I want to know the frequency of (and location) of calls (and callee) .
I am on AS3
thx
...
I have a .NET windows service that does a lot of network magic (WMI, Ping, etc - the list is very long). I would like to profile, with as much ease and detail as possible, how much bandwidth the application uses in total as well each part in the code.
Are there any tools that can help me do that? Ants profiler for example will help me ...
I've got a fairly boring stateful session bean called MyEJB, and I'm using Glassfish 2.1 and javaws. Everything works fine, except method calls which return a lot of data are taking an inordinately long time. Wireshark tells me the network communication is over pretty quickly, so the problem is on the client side...in the stub. Using a n...
I have the following code that serializes a List to a byte array for transport via Web Services. The code works relatively fast on smaller entities, but this is a list of 60,000 or so items. It takes several seconds to execute the formatter.Serialize method. Anyway to speed this up?
public static byte[] ToBinary(Object objToBinar...
I'm testing MySQL as a replacement for SQL server and I'm running into something really strange. I'm testing both inserts and reads, and maxing out around 50 queries per second either way.
My test table looks like:
DROP TABLE IF EXISTS `webanalytics`.`test`;
CREATE TABLE `webanalytics`.`test` (
`id` int(10) unsigned NOT NULL AUTO_...
I work in a call centre that uses single table Access database for its calling, which I moved to a SQL server based system. There's a data list table (not normalized) and a calls table. This has about one update per second currently. All call outcomes along with date, time, and agent id are stored in the calls table. Agents have a predef...
Hi,
I'm developing a site and I have some doubts about the best approach to query the database.
In general, when I load a page, several data has to be fetched from the database. I'm not sure if I'm doing it the best way. So right now and as an example I call the following functions when the page is rendered:
(...)
(a) -> getAuthorName(...
Would usage of more number of application variables affect the performance of an asp.net website ?
...
I have a python program that does something like this:
Read a row from a csv file.
Do some transformations on it.
Break it up into the actual rows as they would be written to the database.
Write those rows to individual csv files.
Go back to step 1 unless the file has been totally read.
Run SQL*Loader and load those files into the data...
I made the observation that my java application is running much faster when executed on an AMD processor in contrast to an Intel CPU.
For example my JBoss starts in about 30 seconds on a 3 GHz AMD processor and needs about 60 seconds on a 3 GHz Intel processor with identical disc, RAM and OS?
Has anyone else made this observation? Why ...
I tested the performance of GServer by implementing the most basic server and checked how many requests per second it could handle. The result was 81. This is very slow compared to the 9900 requests per second that my most basic TCPSocket server can handle. Am I doing something wrong or is GServer really this slow?
Client
require 'socke...
I have an ASP.NET application where i have more than 100 pages.In each pages i want to display the labels (page title,button text etc,, ) which is stored in a table (LabelMaster) which has 2 columns (LabelKey,LabeLValue ). Now i want to know what is the best method to do this. Do i need to fetch all these data in the application on start...