performance

Choosing different versions of Zend Framework to load using Zend_Loader and it's issues

Okay, so, I wanna be able to choose different versions of Zend Framework (and other frameworks) using Zend_Loader. Well, the code isn't tricky at all, but the problem is, there are so many require_once lines in the framework itself that would practically make the autoloader useless. The Zend directory has to be in the include_path whic...

Anyway to Boost java JVM Startup Speed?

Hello SO Well , it is said that Java is 10x faster than python in terms of performance, thats what i see from benchmarks too. But what really brings down java is its startup time of JVM which is quite stupid. This is a test i made: $time xlsx2csv.py Types\ of\ ESI\ v2.doc-emb-Package-9 ... <output skipped> real 0m0.085s user 0m...

Sandbox Virtual Machine for an Application (C++ vs. C#)

I'd like to write a sandbox virtual machine for executing a compiled program. How do you think: which of these two languages would be better to use if we consider performance? Or maybe you suggest another one? ...

% Processor Time on Process vs. Proccesor

I'm looking at a visual studio loadtest results, and something does not make sense. The (_Total) % Processor Time under Process category is almost linear. The (_Total) % Processor Time under Processsor category makes saw teeth pattern. Question 1: What is the difference between the % Prcessor Time under Process category vs. under Pro...

incremental SQL query

My application has a fixed set of SQL queries. These queries are run in polling mode, ever 10 seconds. Because of the size of the database (> 100 GB), and the design (uber normalized), I am running into performance issues. Is it possible to get incremental changes to a given query, whenever a CRUD event happens on the DB that changes t...

How to improve search results with QueryElevationComponent?

I'm using solr 1.4 and using QueryElevation Component for guaranteed search position. I have around 700,000 documents with 1 Mb elevation file. It turns out it is quite slow on the newrelic monitoring website: Slowest Components Count Exclusive Total QueryElevationComponent ...

Why to add clustered index keys to all (intermediate) nodes on NCI?

Considering clustered table, Quassnoi wrote (the last phrase in answer): If the secondary index is declared UNIQUE, clustered key is appended only to the leaf-level records of the secondary index. This sounds like clustered key is added to (all) indermediate nodes of non-unique non-clustered index. And by the same logic RIDs are a...

How sequential traversing between intermediate leaves of clustered index used?

Intermediate leaves of clustered index are linked sequentially (next, previous) for faster access (between intermediate nodes) [2], [3], etc.: How this access is used? Why is it needed? [2] Clustered Index Structures http://msdn.microsoft.com/en-us/library/ms177443.aspx [3] Clustered Tables vs Heap Tables http://www.mssqltips.com/...

Webkit animations performance on IPad

Do webkit based transformations/animations affect JS performance on the IPad? Is there a separate graphics processor to handle the webkit stuff? Basically I am developing a program with some simple webkit animations, but a bunch of them, and I think I have to pull out the animations because its making the Ipad slow. ...

good resources/books on profiling software

Hi, Can anyone suggest some good resources and/or books on profiling, importance of profiling, profiling techniques? thanks ...

How can I freeze the execution of a program?

Say I have got a program that hogs the processor and/or hard disk to the point that it makes it nearly impossible to do anything else on that computer. Now I don't want to kill that program because what it does is useful (it's a batch job that really is that CPU or disk heavy, e.g. it could ZIP a few gigabytes of data files) but for a sh...

ASP.net site: Long-loading page for user puts all other page loads for user on Hold

I have the following scenario (Asp.net 3.5, Windows Server 2008 R2, IIS7): User1 logs into abc.com using Firefox, and goes to a page that takes several minutes to load. While that page is loading, User1 cannot load any other pages on the site. All other page request on the site for User1 with this browser do not receive a response un...

Rails: impact of lots of gems on performance?

What impact, if any, does having A LOT of gems have on the performance of your Rails app? ...

Gzip in web.config not working for me

I am having problems setting up gzip on an IIS7 server via the web.config. The following is the setup <httpCompression minFileSizeForComp="0" doDiskSpaceLimiting="false" staticCompressionDisableCpuUsage="98" staticCompressionEnableCpuUsage="95" dynamicCompressionEnableCpuUsage="30" dynamicCompressionDisableCpuUsage="...

Track changes to SQL query in real time

Hello! Here is my situation: 1) User A must monitor the results of an sql query Q. 2) User B can modify data that may change the results of Q 3) running Q on the entire database is slow What I would like have is: whenever user B modifies the data: with a create, update or delete, then generate the delta to the results of Q. i.e. retur...

Memory layout for mesh data in scientific computing

Hello, I am developing a Finite Element System. As usual, the simulation consists of set of mesh nodes, each with a set of properties (floating-points), like for example several material properties, coordinates or physical quantities that evolve within time. You can either employ two extreme approaches: Property-wise: Maintain a sing...

Best practice in ColdFusion ORM

A question of ColdFusion ORM We are using ColdFusion 9 for the past 6 months and while we've used some of the new features, ORM is something we've avoided because we usually work on the same very large website. Over the years we've used Apache OBJ but then we moved back to CF and used our own DAO objects generated from tables to handle ...