Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat benchmarks #4615

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix function code path
  • Loading branch information
abnegate committed Nov 3, 2022
commit a08cbe363893d5cfe400ea37d36aefe06aebf693
4 changes: 2 additions & 2 deletions tests/benchmarks/Functions/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public function createFunction()

public function prepareDeployment()
{
static::$codePath = realpath(__DIR__ . '/../../resources/functions') . "/php/code.tar.gz";
static::$codePath = realpath(__DIR__ . '/../../resources/functions/php/code.tar.gz');

$stdout = '';
$stderr = '';

Console::execute(
'cd ' . realpath(__DIR__ . "/../../resources/functions") . '/' . static::$codePath . " && \
'cd ' . realpath(__DIR__ . "/../../resources/functions/php") . " && \
tar --exclude code.tar.gz -czf code.tar.gz .",
'',
$stdout,
Expand Down