Questions tagged [performance]

Use it for questions about Drupal's performance, how to measure, and improve it.

Filter by
Sorted by
Tagged with
3
votes
3answers
4k views

Remove query strings from static resources in template.php

I've read several articles throughout the web about removing query strings from static resources, in the template.php file, after I saw a recommendation to do so in a forum, for better page-loading ...
0
votes
1answer
277 views

Several NFS folders for one Drupal instance [closed]

I'm using vagrant & virtualbox to create drupal websites on my Windows local machine. My actual drupal website is under a Windows folder, shared with my guest(ubuntu) by using a Windows NFS server ...
0
votes
0answers
62 views

How to know what beans are not in use?

After looking into new-relic I found that bean_block_info was taking a high % of total load time. In the code I found that this function loads all the beans on first time access (before leveraging ...
2
votes
5answers
2k views

Differences between 'Add existing field' and 'Add new field'

It is possible to reuse the already created fields via Add existing field option. From optimization perspective and the way Drupal stores and manages such fields in database I would like to know, does ...
0
votes
1answer
220 views

Top 10 priorities in performance optimization of a complex Drupal site [duplicate]

I read a lot about many ways to improve drupal site performance optimization, but I did not find a clear indication of the top 10 most relevant modifiations for optimizing the performance of a complex ...
0
votes
1answer
4k views

localhost runs site extremely slow [closed]

I have a Windows 7 computer running MAMP and it works fine, although still a little slow. I have been working on a Druapl site for a few months now and normal page load times are around 3 seconds. I ...
2
votes
0answers
1k views

Facebook plugins slow page load - what can be done to improve this? [closed]

I currently use the Facebook plugin integration module, and have a like button and a fb comment block on each page. Especially the FB plugins load slow. It appears that any link on the page is not ...
8
votes
1answer
867 views

Where to render? Preprocess or template?

We are constantly improving our coding performance and we are monitoring every page load to optimize loading en rendering times in our websites. Above statement in mind, I stumbled upon the question ...
1
vote
0answers
40 views

From a slow mysql query, is there a way to determine which Drupal module/path is the cause? [duplicate]

My hosting provider (Pantheon) provides mysql slow query logs. Is there a quick/easy way to determined, based on an entry in the log, which module/path is causing the problem? Since I built this ...
1
vote
1answer
95 views

Scaling and integrating existing disconnected drupal based sytems?

We are currently planning to scale our current digital platforms to support a small number of number franchised businesses operating in different international locations. Would appreciate a bit of ...
0
votes
1answer
620 views

Enabling aggregate and compress CSS files resuls in vanishing theme

I used this module for more compression on css and js files but it does not work for me! so I disable and remove it entirely. After that when I enable aggregation of css and js files, my site's theme ...
2
votes
0answers
197 views

What is the difference between Query build time Query execute time View render time in drupal veiws

I'm using drupal views and set Live preview settings enabled. I'm curious about the difference between three factors: build time, execute time and render time. Sometime when I change a filter or sort ...
2
votes
1answer
168 views

What are recommended filters for using Pagespeed along with Drupal 7 (and Advagg enabled)?

We are planning to integrate Google Pagespeed module in our Drupal 7 site which is already using Advanced for CSS/JS Aggregation (Advagg). Based on the inputs at https://www.drupal.org/node/2182289#...
0
votes
1answer
39 views

Only getting varnish misses

Would having the display errors setting turned on in the following admin page admin/config/development/logging cause Varnish to generate cache misses?
0
votes
1answer
82 views

Analyzing slow mysql querries

Our Drupal site has recently started to get much more traffic and often pegs the CPU and memory when we have 50-100 active connections. We have 8cpus and 16GB of RAM. I notice that when the cpu is ...
2
votes
2answers
2k views

how to make fewer http requests

I'm use YSlow to optimize my web pages it says: This page has 34 external Javascript scripts. Try combining them into one. This page has 5 external stylesheets. Try combining them into one. but all I ...
6
votes
2answers
702 views

Module to cache URLs commonly request by bots? [closed]

Open the logs of a dozen Drupal sites and you will see some patterns for non-Drupal packages in the http requests that received a 404 response. Requests like /postnuke/article.php, /exchange/logon....
0
votes
1answer
304 views

Has the Block Cache Settings from Drupal 8 been back-ported to Drupal 7?

I noticed in Drupal 8 there are options to cache a block: I was wondering if these options exist in Drupal 7 with a module? Has the feature been back ported? or was it a contrib module to begin with?
0
votes
0answers
279 views

How to optimize performance rendering node with two entity reference fields without using Views?

I'm challenging myself to not use Views and instead rely on EntityFieldQuery() or Dynamic Database Queries. I have a node Event with a date field and two entity field references to artists that will ...
4
votes
1answer
1k views

Performances with many fields per content type

Drupal creates a new table for every new field in a content type. How much this affects the performance in fetching data when the fields of an entity are 15 or more? Is possible to store all fields ...
1
vote
1answer
994 views

Fast 404 module and Drupal core

I can see that Fast 404 module has been added to drupal core since 7.9 version. So in order to use it on my drupal site(without installing Fast 404 module),is there I need to do in the settings.php ...
2
votes
0answers
59 views

Custom module data storage

In Drupal 6, I'm writing a custom module that generates several pages (as a Drupal newbie). Mainly public form pages for soliciting donations - users fill out their info (amount, frequency, etc.) and ...
2
votes
0answers
56 views

In Facet API, if I select a item from one category then the count of items in other category will become zero. What can i do for this?

I'm working with facet API, if I have select a item from one category then the count of items in other category will become zero. What can I do for this ? this is before i select a item in a category ...
11
votes
2answers
10k views

Are there any performance comparisons?

Are there any reliable performance comparisons between vanilla Drupal 8 versus Drupal 7? I have searched the web but only find the post "Drupal 7 vs Drupal 8 Performance Comparison", which is far ...
1
vote
1answer
169 views

Views performance issue

I have a website with 4 views (and sometimes 5 views) on the homepage. The problem is that when I try to open the website, it takes minutes to load and the cpu goes crazy because of mysql processes. ...
2
votes
1answer
65 views

Error entries in Watchdog duplicated dozen and hundreds of times

I have seen that the table watchdog in my MySQL database is growing enormously, and after TRUNCATE, I see that for each visit to a single page, it generates hundreds of inserts, and when seeing them, ...
2
votes
2answers
2k views

First page load/execution slow, login slower Drupal 7

Drupal 7 site experiencing slow execution/load time for first page visit and slower execution/load time for login. The web server and database servers are dedicated and well resourced, the site has no ...
7
votes
1answer
1k views

Views caching strategies - relationship between query cache and rendered output cache

First off, I'm trying to ensure due diligence and not duplicate questions that have come up before. There are numerous posts on stackexchange, and various other places, that discuss views caching and ...
0
votes
1answer
392 views

Updating few thousand nodes in one time

I have script which updating 2000-5000 nodes in loop and performance is poor. At the moment the code looks like: foreach($nids as $nid) { $node = node_load($nid); // updating $node fields ...
3
votes
1answer
159 views

How do I profile a site that is on shared hosting?

I run a commerce website in a shared hosting, from time to time it's being too slow, I tryied many ways to find the cause (css/js agreggation,enable caching, views caching, disabling some big modules :...
1
vote
2answers
1k views

How to execute request-specific tasks after page response is returned. Does hook_exit() actaully do this?

I'm trying to figure out if it's possible to "hide" the perceived execution time of some end-of-request logging tasks that are page specific and depend on the availability of the Drupal DB API. ...
0
votes
1answer
194 views

Huge variations on page load times [closed]

I've build a website using Drupal 7 (7.34 now) and used quite a lot of modules (CiviCrm, Views, Panels, Webform, etc). I recently put this site live at my hosting provider and now I'm experiencing ...
3
votes
1answer
719 views

Disable opcache.use_cwd for Drupal

In PHP Opcache there is an option opcache.use_cwd. Disabling it improves performance, but in documentation mentioned that this may break existing applications: If enabled, OPcache appends the ...
0
votes
0answers
535 views

My drupal 7 is very slow even if I did many improvements

I'm builind a Drupal 7 web site using commerce kickstart 2 distribution, the site became very slow, mainly the admin pages. I read many answers here in stackexchange, and some articles talk about ...
4
votes
1answer
95 views

How to avoid invoking the same module every time when I have to call a function of that module in Drupal 7?

When there is a need to call a function inside a module, some of you say- it is good to use module_invoke() inside the template pages to call the function(it looks great-since I can pass arguments too)...
1
vote
1answer
119 views

Block loading behaviour in Drupal 8 in a performance sense through the visibility settings

The following scenario: - i have for example a standard block region through a pages of a site: "highlights" - for the frontpage i have an additional region: "highlights_frontpage" - i put a block ...
0
votes
1answer
191 views

Javascript added via drupal_add_js() does not get aggregated

I have a couple custom modules that I add javascript via drupal_add_js(). I have all the Bandwidth Optimizations options checked in the performance page (/admin/config/development/performance). Since ...
1
vote
1answer
291 views

Is Drupal scalable across multiple geographical locations?

I'm investigating how a Drupal site can be scaled across multiple geographical locations. The primary requirement for this is high availability. The site should be able to run despite some sort of ...
1
vote
0answers
34 views

Drupal cache not here?

I'm in charge of a website that have an huge amount of queries all the time, so we activated drupal cache (in performance). It was great, for all guests the page was very fast to load (not so fast for ...
2
votes
2answers
149 views

variable api vs custom table

I have a module Block No Results which displays the no results data when block has no results. Variable Api if I will use the variable api then I need the 4 variables for a single block to keep the no ...
0
votes
2answers
247 views

Is there a module provides UI to create field index?

My views are quite slow in some cases, needs create indexes on field tables. Is there a module for that?
0
votes
0answers
447 views

Commerce Kickstart 2 Admin Functions Extremely Slow Shared Hosting

I'm having a problem similar to some others posted here: Extremely slow performance in Admin for certain operations, most notably: Adding an Order or saving a View. Basically, it -feels- like SQL ...
0
votes
2answers
1k views

How can I avoid clearing caches when CSS changes are made?

Every time I make the slightest CSS change, I need to clear cache to see the changes. What can be done about this?
9
votes
5answers
5k views

How can I invalidate a cache on a specific View?

I am facing a situation where I need to invalidate a specific View in order to initiate clearing the cache on that View. views_invalidate_cache() clears ALL cached Views data, for every View on the ...
1
vote
1answer
152 views

Which is the most performant way of overriding views field output

This question sureley can only be answered by people with some drupal experience. As I have quite different and complex views, which I need to control totally, I need to come to a design decision. ...
0
votes
1answer
588 views

Zurb vs. Bootstrap themes: About performance [closed]

I'm trying to decide to use Foundation or Bootstrap as a base theme for a redesign, but even if Foundation have a lot of strengths (native sass support as I've read), it seems that it is waaay bigger ...
0
votes
1answer
63 views

skip processing html and page

From a module, I want to output "hello world" simply as a string as efficiently as possible when i call /mymodule/helloworld. ofcourse, using hook_preprocess_html and hook_preprocess_page i can ...
0
votes
1answer
70 views

Loading a large node body sequentially for better performance

I have a few very large nodes on my Drupal 7 site. In some cases the body field contains about 2MB of raw HTML (about 250,000 words). Despite the site performing well as a whole, the sheer size of ...
1
vote
0answers
302 views

Solr search much slower for logged in users

I've set up Solr on a Drupal installation with around 11000 indexed nodes. I'm using Apache Solr Search Integration module and the FacetAPI interface. However, I'm finding that searches take around ...
8
votes
3answers
2k views

Site performance , cache not working properly

I am using the Performance Logging Module. Above screenshot, one strange thing I noticed that Insert Cache_bootstrap on every page. When you go to any page (both admin theme and frontend theme) Insert ...

1 2 3
4
5
11