承接 thunder/sampler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

thunder/sampler

Composer 安装命令:

composer require thunder/sampler

包简介

Provide Drush 8, 9 and Drupal console commands to sample statistical data for the Thunder performance project.

README 文档

README

This module offers sampling of data for the Thunder performance project.

Prerequisites

Your project should be setup to use composer for installing required modules. Projects, that are differently setup are not supported.

This module provides Drush and Drupal console commands only. If you do not already use either Drush or Drupal console, install one of them before continuing.

See https://docs.drush.org/en/master/install/ and https://drupalconsole.com/docs for more information on how to install them.

Installation

In your project root do:

composer require thunder/sampler

Then enable the sampler module, either with command line or in the admin ui. Flush the caches and you are ready to go.

Usage

Do not use the commands on a production system! It might slow your system down.

In your docroot call either:

drush sampler:report

or

drupal sampler:report

You should see a json containing the sampled data. If you prefer to put the information into a file add a filename as parameter:

drupal sampler:report --file=report.json

This will write the data into the file report.json in your docroot.

By default, the sampler replaces bundle names with generic names. if you want to see the actual bundle names in the report, you can switch the behaviour with the anonymize option:

drupal sampler:report --anonymize=0

统计信息

  • 总下载量: 13.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-02-12