定制 didweb/ratioruntime 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

didweb/ratioruntime

Composer 安装命令:

composer require didweb/ratioruntime

包简介

ratio codice runtime

README 文档

README

Calcula el tiempo de ejecución en punto determinado a otro de la ejecución del código.

Funcionamineto

use didweb\ratioruntime;


$calTime = new RatioRuntime();

// Ejeccucción del código a calcular.

echo "<br />Tiempo empleado: " . $calTime->endCal();

Al instanciar la clase esta toma el tiempo inicial para empezar el cálculo.

Para terminar de calcular y mostrar el tiempo: $calTime->endCal()

Devuelve un float con el tiempo transcurrido desde la instanciación del código.

Instalación mediante composer

Usar "didweb/ratioruntime": "1.0.*"

Ejemplo de uso:

{
    "name": "didweb/name_of_your_module",
    "description": "text",
    "type": "Module",
    "authors": [
        {
            "name": "Your Name",
            "email": "your@mail.com",
            "homepage": "www.your-website.com",
            "role": "Developer"
        }
    ],
    "require": {
      "didweb/ratioruntime": "1.0.*"
    }
}

🇩🇪 Ratio Runtime

Berechnen Sie die Ausführungszeit zu einem bestimmten Zeitpunkt zu einem anderen Zeitpunkt der Codeausführung.

Bedienung

use didweb\ratioruntime;

$calTime = new RatioRuntime();

// Ausführung des zu berechnenden Codes.

echo "<br />Zeitaufwand: " . $calTime->endCal();

Nach dem Instanziieren der Klasse dauert es die erste Zeit, um die Berechnung zu starten.

So beenden Sie die Berechnung und Anzeige der Uhrzeit: $calTime->endCal()

Gibt einen float mit der Zeit zurück, die seit der Instanziierung des Codes vergangen ist.

Composer-Installation

Tragen "didweb/ratioruntime": "1.0.*"

Verwenden Sie ein Beispiel:

{
    "name": "didweb/name_of_your_module",
    "description": "text",
    "type": "Module",
    "authors": [
        {
            "name": "Your Name",
            "email": "your@mail.com",
            "homepage": "www.your-website.com",
            "role": "Developer"
        }
    ],
    "require": {
      "didweb/ratioruntime": "1.0.*"
    }
}

🇬🇧 Ratio RunTime

Calculate the execution time at a certain point to another of the code execution.

Operation

use didweb\ratioruntime;


$calTime = new RatioRuntime();

// Execution of the code to calculate.

echo "<br />Time spent: " . $calTime->endCal();

Upon instantiating the class it takes the initial time to start the calculation.

To finish calculating and displaying the time: $calTime->endCal()

Returns a float with the time elapsed since instantiation of the code.

Composer installation

use "didweb/ratioruntime": "1.0.*"

Use example:

{
    "name": "didweb/name_of_your_module",
    "description": "text",
    "type": "Module",
    "authors": [
        {
            "name": "Your Name",
            "email": "your@mail.com",
            "homepage": "www.your-website.com",
            "role": "Developer"
        }
    ],
    "require": {
      "didweb/ratioruntime": "1.0.*"
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-07-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固