Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
2 posts Page 1 of 1
Use this as a ground foundation for your experiments. :idea: Get in touch if your website must run lightning fast.



Some other topics on queries -
Using SQL to speed up data analysis
Measure speed of page execution
Alternative for <cms:pages> with better performance

Image

My experience included the following
  • `hrtime` is used over `microtime` via a specially crafted quick selector to ensure quickest response.
  • I learned and measured performance of variables, properties methods, `call_user_func` impact, static properties and static methods, magic methods `__get`, `__set`, `__call`, inheritance and all their combinations.
  • Went through various lists of tips to write better PHP code. Such as this incredible example &mdash; RectorPHP ruleset https://github.com/rectorphp/rector/blo ... verview.md
  • Read and learned AOP, Proxy pattern, Decorator pattern and various approaches to create `CachedImportantService class`, `Cacheable` trait and interface.
  • ReactPHP looks very promising and interesting.
  • PHP8 is on the way and I'll do my best so my code won't break after reading what's coming.

Attachments

Hello trendoman,

Thank you for your add-on.

This is a very useful !!
2 posts Page 1 of 1