Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced higlightjs with prism with links to dsl functions docs #1193

Merged

Conversation

norberttech
Copy link
Member

@norberttech norberttech commented Aug 15, 2024

Change Log

Added

  • Links from code examples to DSL functions documentation
  • each DSL function now gots her own page
  • missing DSL's definitions - filesystem, azure filesystem, azure sdk

Fixed

Changed

  • landing page code highlights are now handled by prismjs

Removed

Deprecated

Security


Description

image

Copy link
Contributor

github-actions bot commented Aug 15, 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   | 4.492mb +0.40%  | 515.778ms +0.73% | ±1.77% -16.11%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.559mb +0.40%  | 1.072s -0.69%    | ±0.62% -36.55%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 29.064mb +0.06% | 434.089ms -0.32% | ±2.56% +191.50% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.251mb +0.43%  | 33.597ms -0.01%  | ±2.42% +302.73% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.241mb +0.43%  | 749.282ms -2.07% | ±0.91% -54.30%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.527mb +0.02% | 59.211ms -1.49% | ±0.72% -69.43% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.688mb +0.03%  | 139.773ms +0.78% | ±0.29% -25.88% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.301mb +0.02%  | 115.393ms -0.95% | ±1.06% +28.27% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.352mb +0.02% | 1.227s -0.30%    | ±0.05% -90.59% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.443mb +0.10%  | 43.798ms -1.37%  | ±0.40% -44.42% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.174mb +0.03%  | 389.783ms +0.57% | ±3.36% +556.90% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.440mb +0.14%  | 78.740ms -0.74%  | ±3.54% +92.33%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.370mb +0.02% | 474.095ms -0.02% | ±0.92% +94.07%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.729mb +0.03%  | 232.423ms -2.11% | ±3.28% +905.38% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.567mb +0.12%  | 52.788ms +1.79%  | ±3.46% +147.03% |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.284mb +0.02%  | 3.354ms -3.65%   | ±1.54% -15.42%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.888mb +0.02% | 188.384ms +1.08% | ±0.95% -49.90%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.608mb +0.02%  | 18.707ms -3.54%  | ±0.55% -61.15%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.524mb +0.02%  | 1.693ms -2.48%   | ±0.54% -79.98%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.524mb +0.02%  | 1.703ms +4.28%   | ±2.58% +205.13% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.636mb +0.02%  | 2.779ms -7.62%   | ±0.51% -51.14%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.165mb +0.02%  | 17.468ms +3.81%  | ±2.34% +126.82% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.165mb +0.02%  | 17.107ms +1.35%  | ±1.00% -16.16%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.069mb +0.02%  | 1.700μs -5.87%   | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.069mb +0.02%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.419mb +0.02%  | 12.527ms -1.84%  | ±0.19% -93.36%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.790mb +0.01% | 60.010ms -2.63%  | ±0.80% +49.84%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.685mb +0.02%  | 1.381ms -3.25%   | ±3.38% +55.40%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.041mb +0.02%  | 62.025ms -3.78%  | ±0.74% +71.78%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.786mb +0.02%  | 4.222ms -0.29%   | ±0.47% -83.03%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.218mb +0.02%  | 39.200ms -1.25%  | ±0.64% -30.06%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.219mb +0.02%  | 38.910ms -6.28%  | ±1.17% +21.86%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.218mb +0.02%  | 39.892ms +1.62%  | ±0.29% -66.60%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.510mb +0.02%  | 7.426ms -1.57%   | ±0.84% -46.60%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.069mb +0.02%  | 28.957ms -0.36%  | ±1.04% +192.40% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.069mb +0.02%  | 13.318μs -4.70%  | ±1.06% -22.39%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.069mb +0.02%  | 15.980μs +2.51%  | ±1.06% +74.29%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.889mb +0.02% | 191.844ms -0.91% | ±0.61% +14.54%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 98b7b4a into flow-php:1.x Aug 15, 2024
27 checks passed
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