Skip to main content

Drupal 8 Performance Test

This is a link to a blog post to perform a performance test Drupal 8 written by Darrell Ulm with Drush and the Drupal site_audit module from May of 2016 .

So the basic idea is in Drupal 8 the same Drush utility, site_audit, can be used to figure out all kinds of things how your install is working. We can check for best practices, caching, unused content types, and stats on the database.  We can also look at what modules are installed, a security overview, users, views, and Drupal Watchdog entries.

This is a pretty useful module, and much or more of the reporting is likely available for the major Drupal hosting platforms.

It's safe to say than using this module for most any Drupal site is a good idea to profile the site for any issues, performance, or otherwise, virtually an auto-include.

Wordpress, Tumblr

Popular posts from this blog

Scala Version of Approximation Algorithm for Knapsack Problem for Apache Spark

This is the Scala version of the approximation algorithm for the knapsack problem using Apache Spark. I ran this on a local setup, so it may require modification if you are using something like a Databricks environment. Also you will likely need to setup your Scala environment. All the code for this is at GitHub First, let's import all the libraries we need. import org.apache.spark._ import org.apache.spark.rdd.RDD import org.apache.spark.SparkConf import org.apache.spark.SparkContext._ import org.apache.spark.sql.DataFrame import org.apache.spark.sql.SparkSession import org.apache.spark.sql.functions.sum We'll define this object knapsack, although it could be more specific for what this is doing, it's good enough for this simple test. object knapsack { Again, we'll define the knapsack approximation algorithm, expecting a dataframe with the profits and weights, as well as W, a total weight. def knapsackApprox(knapsackDF: DataFrame, W: Double): Da...