I've used quite a bit of the Telerik RadControls for AJAX, and though I've been pretty happy with the controls, I've found that the performance has been less than stellar over traditional controls.
I'm wondering what the performance implications would be (that you might know of) with regards to the MVC Extensions over traditional jQuery...
I'm building a control that comprises 15x15 = 225 buttons, and needs to be resizable. Because it's a grid, anchoring and docking won't work. I've tried both TableLayoutPanel as well as handling the resize event to manually place and size controls. In both cases, resizing is unacceptably slow. Suspend/Resume Layout in the resize funct...
A situation has come up a few times in the last few weeks when I'd like to measure some event which might happen regulary (like the time taken to redraw a frame in a 2D smooth-scrolling UI) or variable freqency (like a message arriving to a webservice endpoint). I've had and idea of measuring 1) 'normal' frequency, 2) current frequency,...
How can i log which all query is executed,how many secs a MYSQL query take to execute, to increase performance of database?
I am using PHP
...
hello i want to create a SoundEditro with a wave form.
i want to show all samples in this wave form but samples count > 9000000 thus my program work very bad.
please help me, for create a waveform that show all samples rapidly.
i use from MSChart for Framework 3.5 sp1
...
What is the most effective (performance-wise) and clean way to perform the transformation of taking up to 500 XML files, sized up to 50 Mb each and making a single String out of them. All files are XML and need to keep the formatting etc.
I'm currently doing the reading using XMLEventReader , and then XMLEventWriter,reading one event at...
Hello!
I am working on my own 3d engine and have the following question:
I have an abstract object, that handles geometry (vertices and faces). It uses internal storage for this geometry, allows editing and my renderer object has a method RenderGeometry.
With this design my rendering process includes a geometry caching step. So, rende...
I was curious to see what the performance differences between returning a value from a method, or returning it through an Action parameter.
There is a somewhat related question to this
http://stackoverflow.com/questions/2082735/performance-of-calling-delegates-vs-methods
But for the life of me I can't explain why returning a value w...
Hello,
I have been Googling aggressively, but without luck.
I'm using Varnish with great results, but I would like to host multiple websites on a single server (Apache), without Varnish caching all of them.
Can I specify what websites by URL to cache?
Thanks
...
What is the most efficient way to collect and report performance statistic analysis from an application?
If I have an application that uses a series of network apis, and I want to report statistics at runtime, e.g.
Method doA() was called 3 times and consumed on avg 500ms
Method doB() was called 5 times and consumed on avg 1200ms et...
Hello,
I have a 2 enum values representing a mapping to object which I'm (currently) modeling with a HashMap with the 2 enums values are used as key and the object is the value.
This is inefficient because what I'm doing is creating a new CompositeKey(Enum1 enum1, Enum2 enum2) for each combination of the Enum1.values() x Enum2.values()...
Hi,
I'm wondering which is the better way to catch exceptions that I throw: is it a __try / __except block or a try / catch block?
I'm writing in C++ and the program will only be used on Windows, so portability is not an issue.
Thanks!
...
We have a data grid on a window that is bound to a collection of objects. We are having very bad performance on this window; it can take up to 20 seconds to load, and then 5-7 seconds each time you 'scroll' the data grid. This is with a total of 12 items so far. When we investigated, it seemed that the primary cause of the slowdown w...
I'm trying to implement an octree, and for that, I need a fast AABB-ray intersection algorithm. After some searching, I came across this paper that seemed to offer that. From the source code, available here, I translated the pluecker_cls_cff function to C# as this:
public bool Intersect_2(ref RayPluecker r)
{
switch (r.Classification)...
Are there any performance penalties when I use multiple nested structures/classes (kinda like using muti dimension heap arrays) or is it just an organizational feature of the language to make it easier to keep track of data and the compiler doesn't actually see any difference?
Thanks
...
Hi, I work at a fairly big website; we have ~400-500 million page views a month. We use PHP and MySQL.
Currently our page flow works like this (semi pseudo code for clarity):
mysql_connect();
mysql_select_db('red');
mysql_query('SELECT * FROM apples');
mysql_query('SELECT * FROM cakes');
One of my co-workers suggested that mysql_sele...
(I'm sorry for my poor English.)
My work is - drawing lines in Panel.
For this, I overrided the OnRender method of Panel, and put a below code.
/// <summary>
/// 라인의 두께
/// </summary>
private const double LINE_THICKNESS = 0.5d;
/// <summary>
/// 가로줄의 간격
/// </summary>
private const double GAP_PER_WIDTH...
Hi,
I'm having a performance issue in my Excel macro. One particular piece of code runs really slow. I think the reason is the Offset function. I've found online that it is a volatile function which recalculates a lot.
The strange thing is that I use it as a VBA-function, so I can't figure out how it would affect performance as it never...
I need to fetch some chunks of data in a Javascript loop. The pieces will probably be small between 2 and 20 Kb but being in a loop I need speed. I can get these pieces of code from local storage:
var code = localStorage.getItem(myVar);
or even from jQuery .data()
var code = $('#myDiv').data(myVar);
I was unable to find info on loc...
I want to add some static information associated with string keys to all of my pages. The individual PHP pages use some of that information filtered by a query string. Which is the better approach to add this information? Generate a 100K (or larger if more info is needed later) PHP file with an associated array or add an other DB table w...