Skip to content

Commit

Permalink
Fix postfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GDXbsv committed Sep 24, 2024
1 parent dee0f69 commit 597d92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcimerS3.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function timer(string $profilePath = 'app/trace'): void
$startTime = microtime(true);
$this->s3Client->registerStreamWrapperV2();
$date = date(self::DATE_FORMAT_SHORT);
$stream = fopen("s3://{$this->bucketName}/{$profilePath}/{$date}.json", 'w');
$stream = fopen("s3://{$this->bucketName}/{$profilePath}/{$date}.csv", 'w');
$timer->setCallback(function () use ($startTime, $stream) {
$usage = sprintf("%.2f", memory_get_usage() / 1048576); // MB
$interval = (microtime(true) - $startTime);
Expand Down

0 comments on commit 597d92d

Please sign in to comment.