Feature #1852

Add YAML configuration source

Added by Karsten Dambekalns almost 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-10-27
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Configuration
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 1
PHP Version: Complexity:
Has patch:

Description

.

Profiling_ConfigurationContainer_vs_Array.png (161 kB) Robert Lemke, 2008-11-05 18:57

test.php Magnifier (10.4 kB) Robert Lemke, 2008-11-05 19:06

Profiling_ConfigurationContainer_ArrayObject.png (122.5 kB) Robert Lemke, 2008-11-05 19:30

Associated revisions

Revision 3637985f
Added by Robert Lemke over 6 years ago

COMMIT PART 1

  • FLOW3: Implemented a YAML configuration source, resolves #1852
  • Globally refactored code and converted configuration files to use the new YAML configuration format

Note: FLOW3 is now getting even slower because the whole YAML parsing results are not cached yet.
You can still use .php based configuration but it is recommended to switch over to YAML ASAP.

Documentation and speed improvements follow

History

#1 Updated by Karsten Dambekalns almost 7 years ago

  • Priority changed from Should have to Must have
  • Target version set to 1.0 alpha 1

#2 Updated by Robert Lemke over 6 years ago

  • Tracker changed from Bug to Feature

#3 Updated by Robert Lemke over 6 years ago

  • Assigned To set to Robert Lemke

#4 Updated by Robert Lemke over 6 years ago

  • File Profiling_ConfigurationContainer_vs_Array.png added
  • Status changed from New to Accepted

Did some profiling to see how expensive the usage of configuration containers is (instead of using plain arrays). See attached screenshot for the results while just generating 10000 nested configuration options.

#5 Updated by Robert Lemke over 6 years ago

  • File deleted (Profiling_ConfigurationContainer_vs_Array.png)

#7 Updated by Robert Lemke over 6 years ago

#8 Updated by Robert Lemke over 6 years ago

Here's another variant, with ArrayObjects

#9 Updated by Robert Lemke over 6 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1448.

Also available in: Atom PDF