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

Write chartjs output to variable #836

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

norberttech
Copy link
Member

Change Log

Added

  • Writing chartjs output to variable

Fixed

Changed

Removed

Deprecated

Security


Description

Copy link
Contributor

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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 34.765mb +0.00%  | 678.283ms -0.10% | ±0.28% -51.62%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.629mb +0.01%   | 297.428ms +0.65% | ±0.22% +15.86%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.788mb +0.01%   | 909.181ms -0.44% | ±0.74% -70.92%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.498mb +0.00% | 1.081s +1.07%    | ±1.20% +112.47% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.568mb +0.01%   | 24.366ms +2.26%  | ±1.77% +296.13% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.568mb +0.01%   | 407.363ms +0.46% | ±2.03% +407.57% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.252mb +0.00% | 61.334ms -0.57% | ±0.62% +34.87% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.425mb +0.00%  | 438.660ms -0.45% | ±0.67% +210.54% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.734mb +0.00%  | 70.141ms -0.78%  | ±1.29% +74.97%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.007mb +0.00% | 55.600ms +2.43%  | ±1.32% +182.74% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.485mb +0.00% | 1.453s -0.69%    | ±0.52% +265.11% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.609mb +0.00%  | 41.455ms +1.23%  | ±0.31% -71.50%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.302mb +0.00%  | 2.786ms +8.07%   | ±2.68% +1370.43% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.093mb +0.00%  | 178.589ms +1.31% | ±0.74% +169.26%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.618mb +0.00%  | 17.581ms +0.84%  | ±2.20% +672.53%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.542mb +0.00%  | 1.766ms +9.10%   | ±3.90% +67.01%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.542mb +0.00%  | 1.696ms +1.44%   | ±0.42% -88.40%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.654mb +0.00%  | 2.540ms +2.74%   | ±0.72% +47.09%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.183mb +0.00%  | 16.688ms +16.97% | ±1.73% +34.54%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.183mb +0.00%  | 16.947ms +18.49% | ±0.92% +198.90%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.086mb +0.00%  | 1.806μs +6.62%   | ±2.57% -9.09%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.086mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.643mb +0.00%  | 12.602ms +3.68%  | ±0.40% -43.29%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.002mb +0.00% | 65.781ms +3.85%  | ±1.68% +130.51%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.703mb +0.00%  | 1.855ms +8.29%   | ±0.86% -25.97%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.974mb +0.00%  | 37.427ms +11.10% | ±0.89% +116.72%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.804mb +0.00%  | 4.133ms +9.87%   | ±0.26% -64.69%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.229mb +0.00%  | 38.359ms -1.13%  | ±0.83% -23.88%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.229mb +0.00%  | 39.754ms +2.94%  | ±1.68% +121.79%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.229mb +0.00%  | 39.051ms -0.25%  | ±0.54% +11.52%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.528mb +0.00%  | 7.263ms -1.35%   | ±0.21% +61.39%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.086mb +0.00%  | 28.490ms -0.34%  | ±0.21% -80.37%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.086mb +0.00%  | 13.312μs +0.25%  | ±0.71% -24.60%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.086mb +0.00%  | 16.166μs +3.08%  | ±1.27% -7.42%    |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.094mb +0.00%  | 183.589ms +2.40% | ±0.66% -44.30%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.174mb +0.00%  | 325.603ms -0.34% | ±0.79% +63.17%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.097mb +0.00%  | 64.315ms -0.00%  | ±0.36% -55.63%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.845mb +0.00% | 374.418ms +0.12% | ±1.53% +67.13%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.563mb +0.00%  | 184.889ms -1.60% | ±0.13% -92.50%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.688mb +0.00%  | 38.512ms -2.65%  | ±1.13% -4.77%    |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 8a661a1 into flow-php:1.x Nov 23, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant