Overhead is any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to attain a particular goal.
Questions tagged [overhead]
306 questions
0
votes
2 answers
What is the actual overhead from wrapping objects?
I have a time-sensitive application that gets data from a third party library. What would be the performance hit associated with wrapping their objects into more appropriate interfaces for my application?
Note: I am posting an answer here (Q&A…

durron597
- 31,968
- 17
- 99
- 158
0
votes
1 answer
Grails Service Calls From TagLib Overhead
I have a really simple taglib and service:
class TestTagLib {
FooService fooService
static namespace = "bar"
def test = {
out << "text"
}
}
class FooService {
//This is an empty method that does absolutely nothing
…

Alex Beardsley
- 20,988
- 15
- 52
- 67
0
votes
1 answer
Where is the global memory replay overhead coming from?
Running the code below to write 1 GB in global memory in the NVIDIA Visual Profiler, I get:
- 100% storage efficiency
- 69.4% (128.6 GB/s) DRAM utilization
- 18.3% total replay overhead
- 18.3% global memory replay overhead.
The memory writes are…

coder
- 11
- 2
0
votes
5 answers
How can I get a generic list from a datatable with the lowest overhead?
I'm looking for best practices here. Sorry. I know it's subjective, but there are a lot of smart people here, so there ought to be some "very good" ways of doing this.
I have a custom object called Employee. That object has seven properties like…

Byron Sommardahl
- 12,743
- 15
- 74
- 131
0
votes
2 answers
Java: Expected overhead of the rmi protocol
Within my program I'm using two RMI servers, which provide different methods, to simulate a simple network protocol between two notebooks. From my trace log I can see that the transmission time of a "packet" currently varies between 850 and 1100 ms.…

Markus
- 457
- 1
- 10
- 20
0
votes
1 answer
Android performance getJSONObject while parsing
I'm currently parsing JSON and got the following piece of code:
boolean suf = list.getJSONObject(i).getBoolean("sufficient");
String grade = list.getJSONObject(i).getString("grade");
String id= list.getJSONObject(i).getString("id");
I'm wondering…

Gooey
- 4,740
- 10
- 42
- 76
0
votes
2 answers
what does insert and commit do in Mybatis?
I did a test on the overhead of insert operation as well as commit operation.code snippets are as follows:
long t2 = System.currentTimeMillis();
session.insert("mybatis_test.BlogMapper.insert", new BlogMapper(4, "shuaige"));
long t3 =…

Judking
- 6,111
- 11
- 55
- 84
0
votes
1 answer
Android: SOAP and JTDS Overhead
what I'm currently doing is sending GPS data with a timestamp and other parameters to a remote MSSQL database.
At first I've sent it via ksoap2 to a SOAP WebService.
Because of the huge overhead I looked for an alternative and implemented the data…

fabzy
- 353
- 3
- 10
0
votes
2 answers
MySQL connections and PHP
I have a somewhat general question regarding what's best when programming in PHP using also database connections. I am building a project which includes several modules and each module needs to connect to the MySQL sometimes. The module files are…

Dimitris Damilos
- 2,363
- 5
- 23
- 46
0
votes
3 answers
Different functions use the same function, reduce overhead
Code:
namespace Dialog {
enum class Type {Info, Warning, Error};
enum class Buttons {OK, OK_CANCEL, YES_NO, YES_NO_CANCEL};
void Box(Pane* parent, Core::String, Core::String, Buttons, Type);
}
I could define InfoBox like this:
void…

anhadikal
- 45
- 5
0
votes
1 answer
KnockoutJS duplicating data overhead
For the past few days I'm getting more interested in Knockoutjs. It looks very promising because it models the MVVM pattern and WPF like bindings, but I do have some doubts whenever it bring something useful to non RIA web apps (and when I say RIA I…

Narcis
- 5,862
- 3
- 23
- 30
0
votes
3 answers
Overheads involved in OSGI
OSGI is a buzzword today. It has many advantages like loose coupling, reusability. But i want to know whether there are any overheads involved with OSGI as i have to use in my project. Does it effect speed or any other kind of overhead. Please…

user1147070
- 491
- 7
- 21
-1
votes
2 answers
In C#, are for loops linear?
Here I'm using the mathematical term for linear. If we look at, for example, the definition of averaging, we know that:
That's what I mean by linear. In C#, suppose I want to do the following:
for (int i = 0; i

Ben S.
- 99
- 7
-1
votes
1 answer
Qt GUI causes CPU overhead
My code looks like this.
User press a key and gui is updated.
But, when user press a key continuously without releasing, CPU is stressed and the system freezes, until the GUI completes all the tasks ordered.
bool Reproductor::eventFilter(QObject * ,…

Ando
- 49
- 1
- 8
-1
votes
1 answer
Memory usage increases dramatically
I have a problem with memory usage of my code and it is that the memory increase dramatically, 3 GB per hour and I need around 80 hours for my calculation. How can I check memory usage for each part of my calculation?

Raha
- 29
- 6