Construct GeneratorExpressionUsage

Performance Diagrams

Construct GeneratorExpressionUsage 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)12854603788.11538461538461257.0CPython 3.12111600860240.03846153846155289.5752083024603Nuitka (main)111599091391.96153846153845289.57860900718515Nuitka (develop)111599091543.8846153846154289.57860900718515Nuitka (factory)Construct GeneratorExpressionUsageTicks Construct GeneratorExpressionUsage 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)12819383288.11538461538461257.0CPython 3.11107900012240.03846153846155296.11978490989634Nuitka (main)107900022391.96153846153845296.11976563319786Nuitka (develop)107900022543.8846153846154296.11976563319786Nuitka (factory)Construct GeneratorExpressionUsageTicks Construct GeneratorExpressionUsage 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)16919465688.11538461538461257.0CPython 3.10108299927240.03846153846155345.93912333664144Nuitka (main)108300259391.96153846153845345.93863843771123Nuitka (develop)108300259543.8846153846154345.93863843771123Nuitka (factory)Construct GeneratorExpressionUsageTicks Construct GeneratorExpressionUsage 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000140000000140000000150000000150000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)15857703288.11538461538461257.0CPython 2.797209360240.03846153846155352.63109914448876Nuitka (main)97209360391.96153846153845352.63109914448876Nuitka (develop)97209360543.8846153846154352.63109914448876Nuitka (factory)Construct GeneratorExpressionUsageTicks

Source Code with Construct

    # make sure it is still running.
    y = next(gen)

    return x, y


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

    # make sure it is still running.
    y = next(gen)

    return x, y


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.