The performance tag has no wiki summary.
3
votes
1answer
54 views
Bi-directional Map in Apex or best alternative approach
I am using Apex Map structures for fast one-way mapping of data. This works very well, but I ideally want to map backwards using the same map declaration.
The obvious way is to iterate the map, but ...
2
votes
1answer
38 views
What are the performance implications or other drawbacks of Dynamic VF Bindings?
I have an abstract class and a couple of descendants of that class. When I do an apex:repeat over a list of instances of the abstract class I can't access anything defined solely in the child classes ...
9
votes
1answer
121 views
How can cache times be controlled in Site.com?
According to the Site.com informational page
Site.com leverages a global network of caching servers that deliver
content with fewer server hops
How can I (or can I at all) set cache times for ...
1
vote
2answers
93 views
SOAP API - getUpdated()/retrieve() vs query()/queryMore()
The Salesforce SOAP API's getUpdated() is designed to return all objects of a given type, inserted or updated within a given timeframe. IDs for updated records will then be returned and the Salesforce ...
3
votes
7answers
501 views
Deployment with Force.com IDE Taking Forever
We're experiencing extremely long deployment times even when deploying single classes using the force.com IDE plugin to eclipse. The deployment takes up to 1 hour yet running all unit tests from the ...
2
votes
1answer
86 views
How can I profile the performance of Salesforce queries?
In my last question ( Implementing a Keyword Search ) , I described some of the complex queries I've been working on in a new app. In determining my approach, I'd like to consider the performance and ...
5
votes
2answers
135 views
Better performance between if-else-else-… vs hardcoded maps
We're doing an integration project where we receive a lot of code values from a webservice.These codes need to be mapped to a user-friendly, translateable text in a visualforce page. We've set up a ...
4
votes
1answer
90 views
Efficient SOQL query using IN binding with JAVA
With APEX if you have a list of Ids like:
List<Id> customObjList
You can do one efficient SOQL query using the IN keyword.
SELECT ID,NAME from SObject WHERE Id IN :customObjList
I have to ...
5
votes
1answer
147 views
Site sometimes incredibly slow - Apex code execution sleeps for several seconds - any chance to fix?
We sometimes experience a very slow response of a Sites page. Usually the page renders in less than a second but sometimes it takes 8 or more seconds.
When digging into the debug logs I recognized ...
9
votes
2answers
242 views
How to efficiently profile Visualforce components and their controllers?
I have a quite complex Visualforce component (edit grid) that is running to slow (2-4 seconds to display)
When I say complex I mean:
The Component itself is calling other components
Many thousand ...
10
votes
1answer
103 views
Best way to measure SFDC system performance as perceived by the end-users
In order to do proper performance optimization, and hunt the true bottlenecks, we need to know the current performance situation as perceived by the end-users. I.e. as a minimum the duration from the ...
18
votes
2answers
210 views
Similar queries: Better to query twice or process via Apex?
I'm building a Visualforce page in which I want to display two similar (almost identical) lists of the same sObject -- one for objects with an Open status and one for Closed objects. I can think of ...
2
votes
2answers
169 views
Performance of sites and Authenticated Website User Type
I have to develop a "private" auction site based on data already stored in Force.com platform.
Develop a site with Authenticated Website User Type is a viable way? I'm worried about perfomance and ...
3
votes
3answers
132 views
When should I start worring about the number of Records on a single object in a SF Org?
Just completing a project that has been deployed into a global SF Org. We have one object in particular that is likely to require a large number of records and is a related list on most pages.
At ...
9
votes
1answer
357 views
What are the implications of implementing Database.Stateful?
I've recently implemented a batch apex class that initially did not implement Database.Stateful. After using it for a while as-is I decided to implemente better error handling via a simple Map to ...
2
votes
3answers
160 views
Overcoming Database.com latency
I am working on a rather complex application hosted on Heroku and pulling data from Database.com. Because of the way SOQL works, I usually make a number of calls where I would traditionally have made ...

