Construct UnpackIterator

Performance Diagrams

Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1203747588.95192307692307257.0CPython 3.127550176242.31730769230768349.1190381096726Nuitka (main)7549604395.6826923076923349.13078060550333Nuitka (develop)7547387549.0480769230769349.17629304126683Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1113619088.95192307692307257.0CPython 3.116150107242.31730769230768367.64267206910364Nuitka (main)6149918395.6826923076923367.64686603559414Nuitka (develop)6149792549.0480769230769367.64966201325456Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1103832588.95192307692307257.0CPython 3.106399828242.31730769230768360.84220161956705Nuitka (main)6399399395.6826923076923360.85180565822327Nuitka (develop)6399638549.0480769230769360.84645515650107Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)974882789.78846153846155257.0CPython 2.75599986244.59615384615387362.1657229554978Nuitka (main)5200185399.4038461538462372.2999655556194Nuitka (develop)5200185554.2115384615385372.2999655556194Nuitka (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.