Construct UnpackIterator

Performance Diagrams

Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1183772588.95192307692307257.0CPython 3.128657922242.31730769230768323.37915996073184Nuitka (main)7001674395.6826923076923357.953739243361Nuitka (develop)5822692549.0480769230769382.56527485384487Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1018734088.95192307692307257.0CPython 3.117846623242.31730769230768313.779020012169Nuitka (main)5747208395.6826923076923364.7047518707609Nuitka (develop)5750506549.0480769230769364.6247519356982Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)968844989.78846153846155257.0CPython 3.107802924244.59615384615387305.0925518188642Nuitka (main)5997174399.4038461538462351.15034763006486Nuitka (develop)5998872554.2115384615385351.1070381258215Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)1023961788.95192307692307257.0CPython 3.87760406242.31730769230768316.83145461472753Nuitka (main)7758840395.6826923076923316.86924730680846Nuitka (develop)6152843549.0480769230769355.62719756472865Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1059872488.95192307692307257.0CPython 2.75299812242.31730769230768380.5472002972317Nuitka (main)4999497395.6826923076923387.54921834494854Nuitka (develop)4999701549.0480769230769387.5444619668731Nuitka (factory)Construct UnpackIteratorTicks

Source Code with Construct

    return a, b


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

    a = c
    b = c
    # construct_end

    return a, b


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.