Platform cache increasing visualforce execution time

I have decided to use platform cache to retain the result of an expensive callout and processing. Doing so eliminated the callout time and shaved 500ms off of the apex time. Unfortunately my gains were partially eliminated by the visualforce time jumping from ~180ms to more than 600ms. Is this a bug or is there something I need to do to stop this behavior?

Replay

Category: apex Time: 2016-07-28 Views: 0

Related post

  • Increase PHP execution time? 2014-12-03

    How would one increase the PHP execution time in the ISPCONFIG interface? I added the following to the website apache directives: php_admin_value max_execution_time = 200 The rest of my APACHE DIRECTIVES are: Code: php_admin_value disable_functions "

  • Best APC settings to reduce page execution time 2011-10-04

    I have Drupal 7, apc with php-fpm and apache behind varnish and512 MB RAM. I measure page execution time with devel module. Database query time is low (62ms) compared to page execution time which is 854 ms. That means there is problem with PHP and AP

  • Is there any value in knowing the execution time for a unit test? 2011-09-15

    Is the execution time of a unit test useful for anything? Is a unit test an appropriate place for any sort of code profiling? Why or why not? Sample Use Case: Every unit test lists name, pass/fail, and execution time. Time is also calculated per unit

  • During updating translation: Fatal error: Maximum execution time of 240 seconds exceeded 2011-10-24

    I've tried to install a second language to my Drupal7 site. It can be done either by automatically or manually translation. I tried both but I got into the following issue at halftime: Maximum execution time of 240 seconds exceeded. I tried to set hi

  • Max execution time error with stream_body() in wp-includes/class-http.php 2014-10-23

    I am trying to importing the theme-unit-test xml file from wordpress.org to my own wordpress(4.0) through import section. This is my php.ini setting But still get the max execution time limit error. I tried one more way with .htaccess to my worpdress

  • Increasing limit by 1 results increases execution time from less than a second to infinite 2015-01-21

    Using a simple query like: select * from <table> limit 5; will return results in a fraction of a second, which is expected. I can increase the limit up to 49, and the results will still be returned within a fraction of a second. Increasing the limit

  • How to increase execution time out limit in WordPress dashboard? 2016-02-25

    One of my plugins creates a time out every time I visit the Products admin page in my WooCommerce website dashboard. I can't deactivate this plugin as it's absolutely essential for what we do. Any way to increase time out limit? --------------Solutio

  • MySQL Execution Time Spikes 2012-05-08

    I am having issues with MySQL all of the sudden today. Details: OS: CentOS release 5.7 Server type: Parallels virtuozzo container running on mediatemple DV 4.0 package Average total memory usage: <500mb Total memory usage allowed: 1gb (part of shared

  • MySQL query, 2 similar servers, 2 minute difference in execution times 2012-05-31

    I had a similar question on stack overflow, but it seems to be more server/mysql setup related than coding. The queries below all execute instantly on our development server where as they can take upto 2 minutes 20 seconds. The query execution time s

  • Strange execution time for recursive grep 2013-03-05

    I'm on a Linux Ubuntu machine, grepping a large number of files. Can anyone explain these timings? >time grep -nIr acct_margin * [... 3 results ...] real 0m0.555s user 0m0.400s sys 0m0.150s Case insensitive: >time grep -niIr acct_margin * [... 3 res

  • SQL Server - Logical Reads lowered, Execution time remained the same 2014-09-11

    A view executed Select columns from view where col= "date range" (view contains calculation in it Col1+Col2*col3 AS Col4). It took 7 seconds for 500K rows to return, logical reads some 144k. Added covering index and now after execution it says:

  • Can the Platform-cache store data with any data type? 2015-11-26

    I know there are limitations to platform cache though, within the limitation(capacity) is it allowed to store any type of data (Collections, Integer, DateTime, sObject etc...) in the cache? What if we store a collection : map of String to list of obj

  • PageReference Method Using Platform Cache Not Alowed? 2016-03-05

    Right now I have a "Refresh" button on my page that collects some data and sends it to this method: public static Boolean cacheData(String index, MyObject data) { try {reportPartition.put(hash(index), data);} catch(Exception e) { System.debug('P

  • iis and php max execution time error 2009-06-19

    First of all I'm running a VPS with Windows 2003 Server with IIS 6.0 and Plesk These are the settings from php.ini max_execution_time = 300 ; Maximum execution time of each script, in seconds The returned value is ok echo ini_get('max_execution_time'

  • How to solve fatal error like "Maximum execution time of 30 seconds exceeded" in yii 2011-03-02

    I am downloading a JSON file from an online source and and when it runs through the loop I am getting this error: Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\temp\fetch.php on line 24 --------------Solutions-------------

  • Get the average execution time of all select queries 2011-07-21

    tl;dr: How can I get the average query execution time of select statements of a running MySQL server? At them moment we have several database servers, with some slaves treated as read-only servers. To hopefully increase performance, we've set up a te

  • How do I explain the large difference between page execution time and reasonable query execution time? 2011-08-18

    I believe that one of my websites is running rather slowly. I have done nothing different than I have on other Drupal websites that I have done that are running on different servers and that are running much faster. Would this "slowness" be some

  • How to find out the activity which increasing the response time of the Sql Server? 2011-12-07

    We are using SQL Server 2008 as our database server. Recently we came to know, by using a 3rd party tool, that the response time of our database server is increasing at a specific time for example at night 1AM to 4AM. That 3rd party tool provides no

  • The Next Palindrome - reducing total execution time 2012-03-06

    I tried to solve one SPOJ problem. I wrote one program in Python, however, it got accepted by the SPOJ judges, but its total execution time is 2.88s. The same algorithm used in C language having execution time 0.15s. Please offer suggestions on impro

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.954 (s). 13 q(s)