Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Date entry type
  • Date logical type
  • Time entry type
  • Time logical type

Fixed

Changed

Removed

  • ArrayEntry which is now replaced with JsonEntry
  • ObjectEntry

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 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.644mb +1.10%   | 516.523ms +0.05% | ±0.08% -97.06% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.742mb +1.18%   | 1.087s +0.01%    | ±1.55% +49.59% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.377mb +0.13% | 968.283ms +2.49% | ±1.79% +65.91% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.371mb +1.19%   | 33.515ms -0.09%  | ±0.61% -29.11% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.352mb +1.20%   | 661.767ms -0.05% | ±0.75% +24.41% |
+-----------------------+-------------------+------+-----+------------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.647mb +0.04% | 59.939ms -0.33% | ±0.42% -1.47% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.841mb +0.09%  | 113.842ms -20.04% | ±1.80% +41.80%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.477mb -0.06%  | 106.448ms -8.38%  | ±0.81% +219.87% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.247mb +0.05% | 21.956s +0.22%    | ±0.72% -73.55%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.562mb +0.30%  | 44.420ms -0.19%   | ±0.85% -20.04%  |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.396mb +0.13%  | 3.709ms +5.85%   | ±0.63% +170.38% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 103.000mb +0.05% | 190.523ms +3.27% | ±1.42% -8.48%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.720mb +0.06%  | 18.845ms +1.05%  | ±1.05% -18.00%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.636mb +0.13%  | 2.070ms +1.63%   | ±3.10% -4.90%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.636mb +0.13%  | 2.003ms +3.73%   | ±2.07% +73.31%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.748mb +0.14%  | 3.144ms +6.04%   | ±1.76% -1.15%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.277mb +0.14%  | 16.204ms +10.25% | ±2.17% +137.74% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.277mb +0.14%  | 16.681ms +12.18% | ±0.70% +1.93%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.180mb +0.14%  | 1.806μs +5.86%   | ±2.57% -5.45%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.180mb +0.14%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.531mb +0.12%  | 13.390ms +2.16%  | ±1.46% +20.27%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.901mb +0.09% | 64.601ms -1.18%  | ±0.65% -57.70%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.796mb +0.13%  | 1.678ms -4.20%   | ±1.17% -65.40%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.149mb +0.06%  | 60.292ms -6.89%  | ±0.81% -56.33%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.898mb +0.13%  | 4.710ms +11.72%  | ±1.67% +15.61%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.330mb +0.06%  | 39.145ms -1.23%  | ±0.36% -31.66%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.331mb +0.06%  | 41.047ms +2.78%  | ±1.83% +45.98%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.330mb +0.06%  | 39.893ms +0.53%  | ±3.41% +490.34% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.622mb +0.13%  | 7.380ms -0.44%   | ±0.40% -29.43%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.180mb +0.14%  | 29.675ms +2.73%  | ±2.25% +135.59% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.180mb +0.14%  | 14.299μs +7.35%  | ±1.71% +82.20%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.180mb +0.14%  | 16.382μs +2.79%  | ±0.87% -50.61%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 103.001mb +0.05% | 190.298ms -3.38% | ±0.47% -69.19%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.220mb +0.03%  | 393.993ms +0.56% | ±1.87% +89.94%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.486mb +0.10%  | 81.566ms +2.78%  | ±0.80% +10.94%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.486mb +0.05% | 491.359ms +3.72% | ±0.76% -4.80%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.844mb +0.09%  | 247.908ms +2.03% | ±0.89% -27.87%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.682mb +0.35%  | 54.878ms +3.69%  | ±0.65% -54.79%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech force-pushed the feature/date-time-entries branch from 83ac2c4 to f41f8d7 Compare December 11, 2024 10:00
@norberttech norberttech merged commit cce95cd into flow-php:1.x Dec 11, 2024
32 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