cache « performance « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » performance » cache 

1. Which languages have support for return value caching without boilerplate code?    stackoverflow.com

For methods where ...

  • there exists a static one-to-one mapping between the input and the output, and
  • the cost of creating the output object is relatively high, and
  • the method is called repeatedly with ...

2. Is Java "caching" anonymous classes?    stackoverflow.com

Consider the following code:

for(int i = 0;i < 200;i++)
{
  ArrayList<Integer> currentList = new ArrayList<Integer>() {{
    add(i);
  }};
  // do something with currentList
}
How will Java treat ...

3. Image creation performance / image caching    stackoverflow.com

I'm writing an application (J2ME MIDlet) that has a scrollable image (used to display a map). The map background consists of several tiles (premade from a big JPG file), that I ...

4. speeding up jasperreports    stackoverflow.com

i just profiled my reporting application when i tried to generate four times the same report in a row. the first one took 1859ms whereas the following ones only took between ...

5. distributed cache technology    stackoverflow.com

I'm interested in open source messaging and/or distributed cache technologies that satisfy the following requirements.

  • Multiple load-balanced instances of Java web application (probably on Amazon EC2)
    • It's possible for number of instances to ...

6. Caching strategy for small immutable objects in Java?    stackoverflow.com

I am developing an app that creates a large number of small, immutable Java objects. An example might be:

public class Point {
  final int x;
  final int y;
  ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.