Comments (23)
Ok thanks, but could you give me code you are benchmarking?
This is the code of your framework, but maybe you made some modifications / installations before using the benchmark kit?
from benchmark-kit.
I will have time for it during this week-end or next week, i will tell you here when i've fixed it.
from benchmark-kit.
I've found the problem: it's not the code, it's the documentation.
Commands has been renamed but i didn't change the documentation: configure:all
has been renamed to configure:benchmark
.
Problem is solved, you can call phpbenchkit --selfupdate
to get the documentation fix and call phpbenchkit configure:benchmark
.
from benchmark-kit.
from benchmark-kit.
Yes, for now benchmark kit 4 is under developement. Documentation is not fully written ;)
from benchmark-kit.
Hi,
Could you please show me the full code?
assets:install
is not called by benchmark kit.
from benchmark-kit.
Hi,
Could you please show me the full code?
assets:install
is not called by benchmark kit.
would you like see code i am benchmarking?
i am benchmarking this https://github.com/Zestframework/Zest
from benchmark-kit.
Ok thanks, but could you give me code you are benchmarking?
This is the code of your framework, but maybe you made some modifications / installations before using the benchmark kit?
this is same code i push yet
https://github.com/zestframework/Zest-Benchmark
from benchmark-kit.
i install kit as mentioned and i have to change url in wget because from the readme the url was not work
then i run command phpbenchkit
it ask me directory name i put Zest which was inside /var/www/html/Zest/
and i run script from /html
then it show me to run phpbenchkit configure:all
when i run this it show me above mentioned error
Thanks
from benchmark-kit.
Thanks i will take a look as soon as possible.
from benchmark-kit.
Thanks i will take a look as soon as possible.
Any update, if possible?
from benchmark-kit.
I've found the problem: it's not the code, it's the documentation.
Commands has been renamed but i didn't change the documentation:
configure:all
has been renamed toconfigure:benchmark
.Problem is solved, you can call
phpbenchkit --selfupdate
to get the documentation fix and callphpbenchkit configure:benchmark
.
Give me time to check pls 😊 I will be back with status yet it's late night here
Thanks for your time to look to issue
from benchmark-kit.
I've found the problem: it's not the code, it's the documentation.
Commands has been renamed but i didn't change the documentation:
configure:all
has been renamed toconfigure:benchmark
.Problem is solved, you can call
phpbenchkit --selfupdate
to get the documentation fix and callphpbenchkit configure:benchmark
.
Even i try to run with sudo
prefix as well.
I changed the permission of whole directory as well
Looking forward to hear from you thanks
from benchmark-kit.
Could you tell me your UID with echo $UID
?
Do it on your host, not inside the Docker container.
from benchmark-kit.
I've added Zest Framework to benchmark kit.
You can call phpbenchkit --selfupdate
, then answer framework
to Composent type?
question, and you will see Zest Framework
in the list for next question.
from benchmark-kit.
Could you tell me your UID with
echo $UID
?
Do it on your host, not inside the Docker container.
from benchmark-kit.
I've added Zest Framework to benchmark kit.
You can callphpbenchkit --selfupdate
, then answerframework
toComposent type?
question, and you will seeZest Framework
in the list for next question.
Yes i see but when i follow steps it showing same result, even i run that command with sudo
prefix
from benchmark-kit.
The issue is about permission denied.
That is, the /var/www/benchmark
owner is not same as your current user.
The /var/www/benchmark
owner should be www-data
user and it's not lablnet
.
To resolve above issue, I think it can add sudo
before the phpbenchkit configure:benchmark
.
from benchmark-kit.
The issue is about permission denied.
That is, the
/var/www/benchmark
owner is not same as your current user.The
/var/www/benchmark
owner should bewww-data
user and it's notlablnet
.To resolve above issue, I think it can add
sudo
before thephpbenchkit configure:benchmark
.
I try with that too but still same issue
from benchmark-kit.
The permission denied problem is inside Docker phpbenchmarks/benchmark-kit:4
container.
The phpbenchkit configure:benchmark
command will create the directory and files on /var/www/benchmark/.phpbenchmarks
folder.
And it seems that the phpbenchkit
script will use the docker exec
with phpbenchmarks
user to create above directory.
It can look at this line to find out above command.
It will be permission denied
because the /var/www/benchmark/
directory owner is the root
, not phpbenchmarks
.
To fix above issue temporarily, it should use docker exec container_id /bin/bash -c "chown -R phpbenchmarks:phpbenchmarks /var/www/benchmark/"
before running phpbenchkit configure:benchmark
command.
And it will be worked :).
from benchmark-kit.
Thanks @peter279k.
I thought you were on a subdirectory of /var/www
, but peter is right if you are not (/var/www
is the root of your installation, not /var/www/Zest_Framework
for example).
You can change permissions of /var/www
with it's command, or do it outside of the container.
But i think the best solution is to add a subdirectory into /var/www
, and give permissions of your user only to this directory.
from benchmark-kit.
Its fixed thanks both @peter279k and @steevanb
But the document should be improved for new person in docker and Linux environment thanks.
from benchmark-kit.
Its fixed thanks both @peter279k and @steevanb
But the document should be improved for new person in docker and Linux environment thanks.
That's right. They should be improved :).
from benchmark-kit.
Related Issues (20)
- Vhosts are not created from configured vhost file
- Rename commands
- Add validate:configuration:php:preload
- Fix export:benchmark:statistics
- Create validate:benchmark:php-info
- Rename all --no-foo and --skip-source-code-urls options
- Create export:benchmark:php-info
- Add verbose mode to all commands
- Save statistics for all BenchmarkConfiguration
- Use slug instead of id in .phpbenchmarks/config.yml
- Use slug instead of id for benchmark type
- [4.0] Error on command "nginx:vhost:statistics:create" HOT 1
- Fix export:benchmark:configuration component.type.id
- Add phpstan
- phpbenchkit.sh from readme is not there HOT 2
- Add Unic Framework HOT 2
- GitHub Action benchmarking? HOT 1
- File composer.json does not exist HOT 4
- hi .. why is codeigniter 4 omitted ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchmark-kit.