Questions tagged [performance]

The tag has no usage guidance.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
1answer
596 views

Lightning Components: Why is the rendering of 3-level nested <aura:iteration>'s so slow?

I have been working with a nested iteration and it is causing a delay of >3 seconds AFTER loading things from the APEX controller. The APEX response itself is fast, so I'm not looking for any APEX ...
11
votes
1answer
243 views

Why is my Lightning App inside a Managed Package extremly slow during its bootstrap phase (but not in the DEV org)?

I do have a managed package that contains a Lightning app (myApp.app) which contains various custom Lightning components. When I install the package in any org and open the app, it takes a very long ...
8
votes
0answers
271 views

Make custom, in-memory “Lightning Data Service” work

Lightning Data Service is great. Multiple components are magically linked to database records. When records change in the db component show that change. Imagine this to work without saving change to ...
5
votes
0answers
194 views

Apex trigger takes a lot of time to access items in list

I have a simple Contact trigger in a sandbox org that is exhibiting some serious performance issues. After doing some debugging it looks like the issue boils down to accessing the items inside Trigger....
5
votes
0answers
74 views

How to improve performance when querying CustomMetadata's FieldDefinition fields

When I query string columns on custom metadata objects, I get decent performance. However, if I query a column that points to a FieldDefinition, my query became much slower. Is this a known system ...
4
votes
0answers
73 views

how to see view state size for non system administrator profiles?

I am working on a product in which multiple profiles are applicable for same features (Data is coming according to profile and there are also some layout changes). I like to see the view state of page ...
4
votes
0answers
506 views

How to load Chatter with Javascript

Question How can I load chatter (chatter:feedWithFollowers) dynamically (using javascript) in the browser? Motivation I'm working on a Visualforce page that should load as fast as possible and the ...
3
votes
0answers
80 views

Why are these calls into CPQ taking so long?

I'm working through a problem here where we have a website that making calls into Apex code that's taking 8 seconds to add an item to a quote, and I wonder if I could get some help understanding if we'...
3
votes
0answers
27 views

Instance Switching

Has anyone had experience in requesting a Salesforce org be migrated from a different geographic instance to another? Our org was setup a number of years ago (10+) by someone in our US office. Our US ...
3
votes
0answers
66 views

First event/event relation insert taking a while

I have an application that inserts events and event relations in an org's database and has a loading icon to prevent the user from doing anything until the event and relations are properly created and ...
3
votes
0answers
319 views

Why does this Batch always and only abort in Production?

I have a long running asynchronous process that process millons of records in a CustomObject__c. To prevent other limits we have split this into 2 Batch classes that work on this table in parallel. So ...
2
votes
0answers
24 views

Can Lookup Field be part of Composite Index?

I have an sObject say student( ..., student_name text,favourite_teacher lookup,marks integer) By the documentation , lookup fields (favourite_teacher) will be indexed by default. Is it possible ...
2
votes
1answer
43 views

Is there a Salesforce equivalent of Unica Optimize?

I am somewhat familiar with Unica's Optimize engine. This compares different campaigns customers are eligible for to determine which one they should be placed into in order to get the optimal business ...
2
votes
0answers
132 views

Limited speed of downloading from Attachment endpoint

For an Attachment sobject, there is a 'Body' field, whose value looks like: /services/data/v39.0/sobjects/Attachment/00Q5700000v3mCFREE/Body. When I make a GET request to this endpoint using Python ...
2
votes
1answer
75 views

CPU time limit error

I have one child object on account having lookup relationship, I want to update the average of some fields of child to parent, for this I wrote one after insert trigger on child. on doing bulk load I'...
2
votes
0answers
90 views

Main.JS taking more than sufficient load time

I have created a site which is taking more than sufficient load time. After checking the loading in various tool found that a JS file that is main.js is the main culprit and it is an internal file ...
2
votes
1answer
391 views

Strange, slow behavior during ordering w/ REST API

I'm seeing some very bizarre SOQL performance when ordering by Id across several Sobjects. In this, they seem to take a very long time to select even just Ids when asked to sort by Id. Remove the ...
2
votes
1answer
209 views

I want to improve Salesforce1 Mobile performance

I am having problems with the performance on Salesforce1 Mobile specifically the loading times of visualforce pages, I have tested those visualforce pages independently using the developer console and ...
2
votes
0answers
283 views

What is selectivity threshold?

In the example mentioned here(Force.com Query Optimizer) What happens for the below scenario: Total number of Records in Account table : 2,500,000 And all the records are created on Jan 1st 2015. ...
2
votes
2answers
314 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 ...
2
votes
0answers
80 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 ...
2
votes
2answers
1k 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 ...
1
vote
0answers
38 views

Lightning console methods does not respond after keeping console tabs open for sometime

There is a wired behavior observed in our lightning console app. After few tabs and subtabs opens up and we keep the browser open for an hour or so, the lightning methods top open tab and subtabs ...
1
vote
0answers
17 views

Post processing slowness on dev org

We have build custom API on slaesforce. This API is call from C# multilayered application. it stats 1000 threads and hit the custom api almost at same time. Salesforce receive and process all this ...
1
vote
1answer
37 views

Salesforce performance after installing many appExchange or managed package apps or products

Does installing too many appExchange apps on Salesforce instance has any impact on performance of that instance? I mean every app will have its own triggers or automation and thus consuming power/...
1
vote
1answer
61 views

Apex Trigger Skipping Its Duties Under Load - Without Limits Errors

I've got a code problem that is only surfacing under load but isn't producing limits errors, making it a little tough to figure out what I might need to do to fix it. == I've written an insert/...
1
vote
1answer
296 views

Apex Loop Optimize

Here is my code // dynamic fields, the same with queried fields of Database.query(sqlStr) String fieldList = 'Id, Name, Number, Text__c..........'.split(','); for(SObject sob : Database.query(...
1
vote
0answers
22 views

Migration tool took more than the expected time to finish the deployment

Validations and deployments via migration tool to a sandbox took more than the expected time to finish the deployment. Total deployment/validation time supposed to be roughly 30 minutes and suddenly ...
1
vote
1answer
368 views

Large delay between FLOW_BULK_ELEMENT_BEGIN flow element and FLOW_CREATE_INTERVIEW_BEGIN

We have a flow, and have noticed it has greatly increased the time it takes for a bulk (200 record) transaction to complete. We've narrowed down the delay to a 78 second delay between ...
1
vote
0answers
141 views

Large time gap in debug log before ENTERING_MANAGED_PKG

When viewing a debug log where the logging level was set to: APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO I am seeing a large ...
1
vote
0answers
44 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 ...
0
votes
1answer
18 views

Lightning console : Crash solution?

As per documentation : https://help.salesforce.com/articleView?id=console2_technical_requirements.htm&type=5 We should 8 GB Ram out of which 3GB needs to be allocated to Salesforce tabs. ...
0
votes
0answers
10 views

require vs a direct access for API modules in SFCC

What approach is better to use preformance wise require or a direct access for API modules in SFCC? For instance, what will be better: to write dw.io.File every time I need the File or require("dw/io/...
0
votes
1answer
18 views

Web service end to end testing

Background: I have created a lightning quick action button, when i click the button, the apex controller makes a GET Http callout to a 3rd party web service. The web service returns a JSON, and ...
0
votes
1answer
56 views

Loading Iframe in lightning component, slows down the loading time of page. Any alternative?

We have many iframes with relative visualforce page urls inside lightning component. And these all lightning components are displayed on Lightning Sales Console app inside a flexipage. This results ...
0
votes
0answers
17 views

lightningselect performance

i am currently rendering a list with ca 50 records which takes very long. I have figured out that this is due to the lightning:select being in each row. The options are rendered through aura:iteration....
0
votes
1answer
44 views

Capturing page performance statistics with Event Monitoring?

I've finished the trailhead for event monitoring. In the trail head it mentions "Optimize performance — Sometimes it’s hard to determine the cause of slow page performance in your organization. ...
0
votes
0answers
315 views

Lightning Component in Visualforce - Slow Loading in Spring/Summer 18

I know there was the same question in Summer 16 (Lightning Component in VFP - slow loading since Summer 16), but it seems to be the case again in Spring 18 and Summer 18 (I've tested this in sandbox ...
0
votes
2answers
57 views

Iterating with Map with Keys vs Values . Which is more efficient?

Iterating with Map with Keys vs Values : As in Apex we need to write code efficiently for avoiding memory issues and CPU time limit everywhere, I need to understand how to iterate over a map ...
0
votes
0answers
21 views

Does proliferation of Metadata affect my Orgs performance?

I've recently installed a fairly large managed package in our Developer org (i.e. in terms of # of apex classes, vf pages etc.). I have since noticed a degradation in performance for Metadata actions. ...
0
votes
0answers
79 views

Performance degradation in salesforce sandbox - batches and asynchronous are taking too long time

We are running start of day and end of day jobs before and after the business hours, but from around 4 days we are observing even without any data sets the batches are taking too long to run. ...
0
votes
0answers
24 views

How to optimize joined query to find obsolete data

We have a query to find and remove the obsolete data which looks like this: select Id,Name from Matter__c where Id NOT IN (select Matter_Number_Lookup__c from Matter_Sitting__c) So if a matter ...