Questions tagged [performance]

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

Filter by
Sorted by
Tagged with
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
597 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
183 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
162 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
37 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
81 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
651 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
293 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
271 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
977 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
55 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
4answers
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
52 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
346 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
151 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
962 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
689 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
513 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
93 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
117 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
186 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
276 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
33 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
142 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
433 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
982 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?
8
votes
5answers
4k 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
151 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
571 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
296 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
vote
2answers
74 views

Is using nodes for a notification system a performance concern?

I am building a user activity notification system whereby each new notification message is created as a new node which is displayed by Views. To prevent an infinite number of nodes being created there ...
0
votes
1answer
225 views

Performance and javascript issue in a drupal 7 website

I have a drupal 7 website. Currently its performance is not good and takes much time to render the web pages. For performance, I checked out in YSlow and came up with some results like move all js ...
-1
votes
1answer
95 views

Module bloat and performance tuning

We have a site with performance issues. And we are looking for advice on low hanging fruit or other strategies that can have a dramatic increase on performance. The seemingly obvious culprit is ...
0
votes
3answers
2k views

Advagg and Nginx

I have the following errors displayed on my status report page: Adv CSS/JS Agg - HTTP Request HTTP requests to advagg for js files are not getting through. AdvAgg will issue a request for a file ...
0
votes
1answer
63 views

Node theming through Views or tpl.php files - which one is better for performance?

As an example, let's take a node with 5 fields and two blocks between those fields. E. g. you want an article do be displayed like this: First field Second field Block with related nodes Third ...
1
vote
1answer
1k views

How to speed up Batch API processing

Ok, so I've got a script that's going to go through about 13000 nodes (which might be part of the problem, but I don't think it is). I can either put them as one large array, which seems to go ...
1
vote
3answers
966 views

drupal as mobile app backend

Im currently using drupal 7 + commerce for online sales and I have a phonegap app that creates orders. I want to use drupal 7 via a the services module to sync the app sales data with the online store....
1
vote
1answer
71 views

WSOD when trying to configure menu with many items

I have a menu with many nested/multi-lingual menu items (I don’t know the exact number, probably something around 2000-3000). Whenever I try to visit its configuration page in the backend (/admin/...

1 2 3
4
5
11