The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
0answers
41 views

Which kind of issues will be shown at trust.salesforce.com and which issues will be omited?

In the context of a different question, we encountered a deployment performance degradation on EU5 of between 6000% to 10000% using Metadata-API. This means that work (saving a single APEX file to the ...
5
votes
1answer
88 views

Syntactic vs Performance difference on object creation?

Is there any performance difference between: Contact con = new Contact(); con.Id = conId; con.AccountRoles__c = newRole; ... and... Contact con = new Contact( Id = conId, ...
4
votes
2answers
120 views

EU5 not usable for development: Metadata-API deployment on EU5 unresponsive

Today I encounter a severe performance degradation on Metadata-API deployment speed on EU5. I'm waiting > 950 seconds (sometimes > 1500 seconds), when it usually deploys in < 25 seconds... This is ...
1
vote
1answer
20 views

What are “tid” and “len” in Visual Force Remoting actions?

I have no knowledge of the SalesForce1 platform, but am required to performance test a few UI pages/endpoints of a customer applications using a JMeter script. SO far I have been able to invoke most ...
7
votes
3answers
148 views

Metadata+ToolingAPI access on CS14 extremly slow & No Support?

We are working on CS14. Starting last Friday we are suffering form a extreme performance loss on CS14. Loading and Saving Metadata via Tooling/Metadata-API is very slow. Operations which usually ...
9
votes
3answers
439 views

Are sandboxes slower than production Orgs?

I've noticed quite often that sandbox instances are showing a slower performance during Metadata API and Tooling API access. Today this happened on cs14. The force.com IDE froze completely during a ...
8
votes
4answers
2k views

Efficiency of List.size() > 0 vs. !List.isEmpty()

Anyone have any data to support a claim for which of the following two expressions is more efficient (meaning faster)? The use case is determining whether a List is empty to inform an auxiliary method ...
0
votes
2answers
56 views

Need help in improving SOQL performance

I have a SOQL query as below (where clause only). This query is not performing upto the mark, may be because of like operator. How can I substitute this :- Where ( abc__c = 'chris' OR xyz__c = ...
0
votes
1answer
34 views

Why is my report taking forever to run?

When working with a very large dataset of Accounts, e.g., 10's of millions of records, I wanted to create a report to return a subsets of records, i.e., records filtered by country. I created a ...
2
votes
2answers
103 views

Track number of API calls for an application

I'm working on an application, which uses SOAP, REST and Bulk API to integrate with Salesforce. Is there any API call in Salesforce which enables me to track how much API calls did I consume in a ...
4
votes
1answer
163 views

SFDC European Data Center experiences

I see a new EU5 instance on trust.salesforce.com which has a 'LON' hovertext over it, assumingly referring to London. I can imagine some companies might be interested in having their data hosted in ...
2
votes
1answer
35 views

No response to compile request in MavensMate this morning

This morning when compiling classes to server in one of my sandboxes, the files are "spinning" forever in MM's status window. But if I open the classes list in the browser, I can see that the ...
6
votes
2answers
115 views

Best practises for speeding up Apex Batch class

My previous question about slow Batches probably was to focused on a specific problem, so I try it again much broader. What are general rules of thumb to make a slow Batch faster? Although I added 2 ...
5
votes
2answers
257 views

Only query Id field in start() to speed up Apex Batch

I am looking for ways to speed up a complex Batch job which takes days to run in a specific customer org. This Batch is snapshoting records of arbitrary objects into denormalized (as a single records ...
2
votes
0answers
83 views

Reports API - Slow Down

Team, I wrote the below class on Thursday and it was working like a dream (1 - 2 seconds to load the page). Now, on Saturday when there have been no changes to the code since Thursday it take 15 - ...
2
votes
3answers
56 views

Do big classes reduce performance?

I have a big (right now it's 1,4k lines) 'toolbox' class. I have a lot of static methods and wrappers there which are used in various number of services or manager/handler classes. Does anyone notice ...
1
vote
0answers
30 views

reduced latency and improved transaction speed since new data centre opens

I wonder if there is a direct reduction in transaction time for EU based customers as a result of the new data centre that opened in the UK last week (w/c 27th Oct '14), we have noticed a reduction in ...
2
votes
1answer
62 views

Performance impact of relationship queries in batch start

For a new batch process I have a choice between immediately selecting relevant records in the start function (but using several [field]__r comparisons as they are junction objects being queried) or ...
0
votes
0answers
33 views

For SF performance testing What is LR protocol recomended

Using Loadrunner Tool, to execute Performance test on SFDC. What will be the best protocol to use to develop the LR scripts.
0
votes
0answers
60 views

Can you please advise on REST API best practices in terms of batching the amount of rows per call, when adding to a data extension?

Can you please advise on REST API best practices in terms of batching the amount of rows per call, when adding to a data extension? One of our clients tried inserting data in batches of 50 records as ...
3
votes
2answers
70 views

What is the importance of Heap size limit?

I don't understand the importance of heap size limit of 6MB. So could someone help me understand the heap size limit?
2
votes
0answers
51 views

Having a Visualforce page inside of a standard page results in duplicate main.js

I have a custom Visualforce page rendered inside of a standard page Opportunity in one of my layouts. I was researching some performance issues when I noticed that 2 main.js files are travelling down ...
3
votes
2answers
164 views

Any reason not to monitor ALL event types (operations) in triggers

Is there any drawback on having defined all possible Trigger events / operation before x, after x, before y, after y in the header of a trigger even if I don't use them in my code? As most decent ...
0
votes
1answer
121 views

Check if the value was changed in the original object in a trigger

I'm writing a rollup trigger to update a field at account level based on some criteria. Let's say there's a boolean field with true/ false values. Should I check if the value has changed at original ...
1
vote
1answer
35 views

Performance Test SF on IPad

i need your help and support on an important topic. We have build on SF a new sales solution which will go live within the next months. Every morning I have a data synchronisation on the IPad. So data ...
3
votes
0answers
125 views

How to load Chatter by Javascript

Question How could I load chatter (chatter:feedWithFollowers) dynamically (by javascript) in the browser? Motivation I'm working in a visualforce page that has the requirement of load as faster as ...
3
votes
1answer
49 views

VF Performance Issue

Salesforce recently notified us that "a VF is consuming high levels of DB resources due to inefficient SOQL in your VF controller." I believe I have identified the issue down to this query: ...
3
votes
1answer
70 views

Speedup Testing with Force.com IDE using slim Logs - but how to set the log-level?

A lot has been written here about slow development in general and slow testing in particular e. g.: Slow development Faster unit tests? For my use case I found one reason for slow testing while ...
4
votes
2answers
241 views

Concurrent HTTP callouts vs single callout

Background I have 3 identical HTTP servers, holding the same data: api1, api2 and api3. I want to query this data as reliable and quick as possible. In Java, I would have done this by spawning 3 ...
2
votes
1answer
177 views

renderAs CSV (10K+ rows): What are the best practices available to avoid hitting Apex cpu time limit exceeded limits?

I am trying to download a CSV using render as attribute in apex:page. The output data that is rendered is the real-time response from a callout from salesforce to SAP webservice. The number of records ...
4
votes
2answers
606 views

Performance difference between Sandbox and Production instances?

I am seeing little bit difference in the page response time in sandbox and production org's. Actually, i am thinking the production org instance is faster than the sandbox instance because it might be ...
2
votes
1answer
252 views

What is the use of calling a controller inside an APEX trigger? Is that a best practice?

I saw some posts related to APEX triggers and recently one below, Salesforce method to update doesn't get commited in which the trigger have few lines, ApexPAges.StandardController sc = new ...
14
votes
3answers
685 views

Writing too much to debug log would affect APEX trigger or Visualforce page performance?

In order to debug we usually write chunks of data to the debug log using System.debug statements. Will writing too many debug logs affect visualforce page or Apex performance in any way?
2
votes
2answers
140 views

Salesforce webservice performance

I am using Partner WSDL to get data from salesforce, To do it I am using those steps: 1. Getting the object list: sforceService.describeGlobal() Getting the table field ...
10
votes
3answers
409 views

Measuring performance of batch apex query

Is there a good way to tell how long the query in a batch apex job is taking? I don't find anything in the debug logs. I can see each batch and how long it takes, but not how long the initial query ...
2
votes
1answer
233 views

How to measure inline visualforce page(s) performance and load time when it is pinned in a standard page?

i have enabled development mode and want to verify the Performance tree, view state, etc. Since i have a inline visualforce page i am not seeing a development mode window displayed on my Account ...
1
vote
1answer
46 views

Counting account totals within another account type

In our Salesforce deployment, we have two account types (partner and merchant). Merchants have a custom field that contains their parent "partner" account. I am trying to write a trigger (on ...
2
votes
0answers
123 views

How to test SOQL Query performance for Communities User

I am experiencing performance issues on my Production instance with SOQL queries being executed by a Communities user. I'd like to finetune the SOQL Query performance and have done some tests in the ...
4
votes
3answers
155 views

The backup solution (for system disruption / non-data backup)

We have encountered several performance impacts in the last few weeks. Although, the root-cause is reported in the trust.salesforce.com, the risk still exists and the service disruption can happen in ...
6
votes
2answers
2k views

Contacts without Accounts: Is it possible, and if not, why?

Context: My understanding is that historically Salesforce was built to manage Business-to-Business (B2B) contacts, and the idea that the data model would not be built for contacts without accounts ...
4
votes
1answer
58 views

Org Assessment - Tools

We are planning to do an org assessment. Background: We have a huge org (especially Case objects - Lot of workflows, lot of triggers) we almost reached limits. (Millions of records in Case object; ...
1
vote
2answers
205 views

How Salesforce Performance varies when Multiple Validation Rules Triggers for Bulk Records

We are Implementing Data Validation Process for our Organization for which we are thinking to implement following techniques: Apply validation rules for every object in order to maintain Data ...
4
votes
2answers
178 views

Should I wrap multiple getters into a Map

I have a VF Controller class with several instance of a wrapper class - something like this: public Transient mywrapperclass wrapper1 {get;set;} public Transient mywrapperclass wrapper2 {get;set;} ...
1
vote
2answers
589 views

Apex test is slow during deployment, but fast any other time

I have a test that takes about 5 minutes to run during production deployment. If you just click "run test" or run it from execute anonymous, it's not slow at all (a few seconds). Is there a way to ...
9
votes
3answers
2k views

What are Apex Performance Best Practices?

Is there a definitive guide somewhere that outlines the best practices for faster executing code? I am looking for specifics, like Adding elements to a Set versus to a Map Testing for null before ...
3
votes
1answer
119 views

Performance comparison - repeat loop vs more in one loop

I'm trying to optimize some code and am going through some triggers. I'm wondering if there is a performance difference between running three methods in series - and in each one, I loop over ...
7
votes
1answer
123 views

Measure (SOAP) API call performances

Is there a way to measure SF server processing time for specific (SOAP) API method call? Example: I am invoking update of 200 objects in one request. I would like to see SF processing time on their ...
3
votes
1answer
379 views

considerations re: performance and servlet.integration?

I'm assuming that servlet.integration represents the loading and launching of an apex program (VF, Controllers and all) into a java servlet runner. It appears to take a long time for the first apex ...
2
votes
2answers
949 views

SOQL Count() Vs Query data which is more faster?

If you want to check if there is record of ProcessInstance exists in the system or not, please suggest which one of the following approch is faster and best practice to use ? Approch 1 - Query Object ...
3
votes
3answers
530 views

Could debug logs slow down the application?

In my apex applications i have tons of the System.debug('...') outputs. Should i remove it all for the production use? What is the best practice for this?