Construct UnpackIterator

Performance Diagrams

Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1203747588.95192307692307257.0CPython 3.126649946242.31730769230768367.59971472103064Nuitka (main)6649955395.6826923076923367.59952996148087Nuitka (develop)6650361549.0480769230769367.59119525290174Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1113619088.95192307692307257.0CPython 3.116049991242.31730769230768369.86427603295067Nuitka (main)6050000395.6826923076923369.86407632026066Nuitka (develop)6052906549.0480769230769369.7995913116812Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1103832588.95192307692307257.0CPython 3.106051873242.31730769230768368.6318829030812Nuitka (main)6051878395.6826923076923368.6317709678988Nuitka (develop)6047916549.0480769230769368.7204684064908Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)974882789.78846153846155257.0CPython 2.74249987244.59615384615387396.38579087909363Nuitka (main)4249987399.4038461538462396.38579087909363Nuitka (develop)4250013554.2115384615385396.3851318254454Nuitka (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.