Construct GeneratorExpressionExit

Performance Diagrams

Construct GeneratorExpressionExit 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)6112979788.95192307692307257.0CPython 3.1229051406242.31730769230768386.67594068417554Nuitka (main)22999005395.6826923076923411.1425915543157Nuitka (develop)23000213549.0480769230769411.1377082502763Nuitka (factory)Construct GeneratorExpressionExitTicks Construct GeneratorExpressionExit 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)13887926488.11538461538461257.0CPython 3.1144205232240.03846153846155425.4586248294722Nuitka (main)45242732391.96153846153845423.61254497453825Nuitka (develop)45274325543.8846153846154423.55632984118216Nuitka (factory)Construct GeneratorExpressionExitTicks Construct GeneratorExpressionExit 0010000000100000002000000020000000300000003000000040000000400000005000000050000000600000006000000070000000700000008000000080000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)8217587488.95192307692307257.0CPython 3.1042507827242.31730769230768376.28786655005524Nuitka (main)43628766395.6826923076923372.9170320382692Nuitka (develop)43608890549.0480769230769372.976802201281Nuitka (factory)Construct GeneratorExpressionExitTicks Construct GeneratorExpressionExit 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)7681906088.95192307692307257.0CPython 3.843568676242.31730769230768363.96149407151336Nuitka (main)43590825395.6826923076923363.8902440633273Nuitka (develop)43503382549.0480769230769364.17153506814986Nuitka (factory)Construct GeneratorExpressionExitTicks Construct GeneratorExpressionExit 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000240000000240000000260000000260000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)26961508088.11538461538461257.0CPython 2.7115602225240.03846153846155398.1603011932362Nuitka (main)116252125391.96153846153845397.56463611225655Nuitka (develop)116252175543.8846153846154397.5645902848153Nuitka (factory)Construct GeneratorExpressionExitTicks

Source Code with Construct

        # construct_alternative


    except exc:
        pass

    return throw, exc


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

        # construct_alternative
        pass
        # construct_end
    except exc:
        pass

    return throw, exc


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.