src/Tracing/Tracing.php
public function handleBuildExtensionsResponse(BuildExtensionsResponse $buildExtensionsResponse): ExtensionsResponse
    {
        $requestEnd = Carbon::now();
        $requestEndPrecise = $this->getTime();

        return new ExtensionsResponse(
            'tracing',
            [
                'version' => 1,
                'startTime' => $this->requestStart->format(Carbon::RFC3339_EXTENDED),
                'endTime' => $requestEnd->format(Carbon::RFC3339_EXTENDED),
                'duration' => $this->diffTimeInNanoseconds($this->requestStartPrecise, $requestEndPrecise),
                'execution' => [
                    'resolvers' => $this->resolverTraces,
                ],
            ]
        );
    }
public function handleBuildExtensionsResponse(BuildExtensionsResponse $buildExtensionsResponse): ExtensionsResponse
    {
        $requestEnd = Carbon::now();
        $requestEndPrecise = $this->getTime();

        return new ExtensionsResponse(
            'tracing',
            [
                'version' => 1,
                'startTime' => $this->requestStart->format(Carbon::RFC3339_EXTENDED),
                'endTime' => $requestEnd->format(Carbon::RFC3339_EXTENDED),
                'duration' => $this->diffTimeInNanoseconds($this->requestStartPrecise, $requestEndPrecise),
                'execution' => [
                    'resolvers' => $this->resolverTraces,
                ],
            ]
        );
    }
public function handleBuildExtensionsResponse ( BuildExtensionsResponse $ buildExtensionsResponse ) : ExtensionsResponse { $ requestEnd = Carbon :: now ( ) ; $ requestEndPrecise = $ this -> getTime ( ) ; return new ExtensionsResponse ( 'tracing' , [ 'version' => 1 , 'startTime' => $ this -> requestStart -> format ( Carbon :: RFC3339_EXTENDED ) , 'endTime' => $ requestEnd -> format ( Carbon :: RFC3339_EXTENDED ) , 'duration' => $ this -> diffTimeInNanoseconds ( $ this -> requestStartPrecise , $ requestEndPrecise ) , 'execution' => [ 'resolvers' => $ this -> resolverTraces , ] , ] ) ; }
Return additional information for the result.

@param  \Nuwave\Lighthouse\Events\BuildExtensionsResponse  $buildExtensionsResponse
@return \Nuwave\Lighthouse\Execution\ExtensionsResponse
Return additional information for the result .