yiisoft / yiisoft/yii2-debug

Improve accuracy timing

Open
#39 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:enhancement
Dominant language
PHP
Stars
202
Forks
147
Avg merge
1h 54m
Merged PRs (30d)
1

Description

What is currently covered in the log of the toolbar is:

  • the lifecycle after loading the config files.

What is also useful is to provide an actual timeframe which corresponds with the total time displayed in the toolbar in which you get a accurate display of the total request. This requires a log of the:

  • start time of app
  • end time of app

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the toolbar's existing lifecycle logging and the code that computes the total request time; confirm how application start and end are defined, then add timing output whose displayed duration matches the toolbar total and verify it with the relevant logging or toolbar tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.