Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Documentation tool that can extract function definitions from given paths
  • bin/docs tool that dumps DSL definitions as json to a file
  • Landing page documentation section
  • Scroll up button on website at mobile devices

Fixed

Changed

Removed

Deprecated

Security


Description

image

@github-actions
Copy link
Contributor

github-actions bot commented Aug 13, 2024

Flow PHP - Benchmarks

Results of the benchmarks from this PR are compared with the results from 1.x branch.

Extractors
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| benchmark             | subject           | revs | its | mem_peak        | mode             | rstdev          |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 3.951mb +10.10% | 512.956ms +0.75% | ±0.66% -10.34%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.084mb +9.77%  | 1.069s -0.94%    | ±0.11% -93.74%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 28.589mb +1.40% | 429.989ms -1.21% | ±0.76% -30.26%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 3.711mb +10.75% | 33.740ms -0.54%  | ±1.04% +305.46% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 3.701mb +10.78% | 757.152ms -0.40% | ±1.21% +106.84% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.053mb +0.34% | 58.116ms -3.71% | ±1.01% -35.68% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.213mb +0.74%  | 141.231ms -0.76% | ±0.95% +96.06% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 89.825mb +0.44%  | 115.451ms -1.95% | ±0.32% -74.19% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 123.872mb +0.32% | 1.251s +1.32%    | ±0.52% +23.32% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.968mb +2.35%  | 44.314ms -0.11%  | ±0.16% -38.62% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 52.633mb +0.76%  | 387.119ms -1.75% | ±2.93% +405.61%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 12.899mb +3.09%  | 77.534ms -1.23%  | ±0.65% -60.23%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 106.826mb +0.37% | 464.399ms -0.05% | ±0.27% -91.95%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.184mb +0.72%  | 237.540ms +0.61% | ±3.19% +1324.65% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.022mb +2.85%  | 51.357ms -0.03%  | ±0.29% -81.42%   |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 86.809mb +0.46%  | 3.432ms -0.84%   | ±1.88% -1.79%    |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.412mb +0.39% | 186.935ms -0.85% | ±1.13% +203.39%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.132mb +0.47%  | 18.874ms -0.92%  | ±0.21% -58.71%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.049mb +0.45%  | 1.783ms -6.33%   | ±0.93% -24.03%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.049mb +0.45%  | 1.749ms -10.76%  | ±1.79% +151.12%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.161mb +0.47%  | 2.821ms +3.90%   | ±3.11% +175.42%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.690mb +0.47%  | 16.777ms +2.08%  | ±1.40% +131.55%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.690mb +0.47%  | 16.739ms +0.28%  | ±1.04% -7.98%    |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.594mb +0.48%  | 1.700μs -5.56%   | ±0.00% 0.00%     |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.594mb +0.48%  | 0.300μs -25.00%  | ±0.00% -100.00%  |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.944mb +0.43%  | 12.046ms -1.61%  | ±0.49% +36.51%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.315mb +0.33% | 61.201ms -2.13%  | ±0.31% -62.06%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.210mb +0.46%  | 1.490ms -8.39%   | ±1.84% +22.00%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.561mb +0.45%  | 63.397ms -3.11%  | ±0.19% -58.86%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.311mb +0.45%  | 4.275ms +5.26%   | ±1.42% -20.08%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.743mb +0.48%  | 38.842ms -1.19%  | ±1.69% +276.24%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.744mb +0.48%  | 38.765ms -1.03%  | ±1.46% +108.43%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.743mb +0.48%  | 39.907ms -2.22%  | ±1.45% -22.03%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.035mb +0.46%  | 7.197ms -7.91%   | ±0.56% -77.20%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.594mb +0.48%  | 28.858ms -5.39%  | ±1.01% -53.45%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.594mb +0.48%  | 13.306μs -4.96%  | ±0.35% -39.38%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.594mb +0.48%  | 15.930μs -5.22%  | ±1.47% -21.06%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.414mb +0.39% | 192.378ms +0.66% | ±0.40% -52.04%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 17bd054 into flow-php:1.x Aug 13, 2024
@norberttech norberttech deleted the feature/dsl-documentation branch December 5, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant