Construct GeneratorExpressionCreation

Performance Diagrams

Construct GeneratorExpressionCreation 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)11877994388.11538461538461257.0CPython 3.1287772921240.03846153846155321.50846812839177Nuitka (main)86730041391.96153846153845323.67812477074Nuitka (develop)86729913543.8846153846154323.6783910679652Nuitka (factory)Construct GeneratorExpressionCreationTicks Construct GeneratorExpressionCreation 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)21934000588.11538461538461257.0CPython 3.1154453427240.03846153846155442.76643207601194Nuitka (main)54461858391.96153846153845442.7569334448448Nuitka (develop)54461858543.8846153846154442.7569334448448Nuitka (factory)Construct GeneratorExpressionCreationTicks Construct GeneratorExpressionCreation 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)19454347588.11538461538461257.0CPython 3.1056521674240.03846153846155432.3197347761115Nuitka (main)56518362391.96153846153845432.32394178513016Nuitka (develop)56518285543.8846153846154432.32403959300893Nuitka (factory)Construct GeneratorExpressionCreationTicks Construct GeneratorExpressionCreation 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)17421462588.11538461538461257.0CPython 2.744109805240.03846153846155441.5476671927824Nuitka (main)44109915391.96153846153845441.5475111628721Nuitka (develop)44109915543.8846153846154441.5475111628721Nuitka (factory)Construct GeneratorExpressionCreationTicks

Source Code with Construct

for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Source Code without Construct

for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.