Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Fix Phalcon installation and code base update - #6443

Merged
NateBrady23 merged 6 commits into
TechEmpower:masterfrom
Jeckerson:master
Mar 15, 2021
Merged

NateBrady23 merged 6 commits into
TechEmpower:masterfrom
Jeckerson:master

Conversation

@Jeckerson

Copy link
Copy Markdown
Contributor

Hello!

psr extension is required for phalcon work. I also updated code base...

@joanhey

joanhey commented Mar 14, 2021

Copy link
Copy Markdown
Contributor

Could you try to update the mongodb variant, if the bug is fixed ?

Good PR !!

@Jeckerson

Copy link
Copy Markdown
Contributor Author

@joanhey Can't understand how it works in terms of MongoDB...

In the docs rules it has:

The schema for World is id (int, primary key) and randomNumber (int), except for MongoDB, wherein the identity column is _id, with the leading underscore.

So, when I keep response as is it will send warning message:

WARN for http://tfb-server:8080/mongodb/queries?queries=2
An extra key(s) is being included with the db object: _id

Meanwhile, when I disable id key:

WARN for http://tfb-server:8080/mongodb/queries?queries=501
Response object was missing required key: id

FAIL for http://tfb-server:8080/mongodb/queries?queries=foo
Response object was missing required key: id

@NateBrady23
NateBrady23 merged commit a3771b1 into TechEmpower:master Mar 15, 2021
andreasrueb pushed a commit to digitallyinduced/IHP-FrameworkBenchmarks that referenced this pull request Apr 13, 2021
* Fix installation of Phalcon in dockerfiles

* Reformat and update code base

* Enable "plaintext_url" benchmark in Phalcon Micro

* Remove import of functions

* Reformat code

* Fix Phalcon's MongoDB benchmark
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants