Construct BuiltinSumWithTuple

Performance Diagrams

Construct BuiltinSumWithTuple 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)537868389.78846153846155324.49980106548855CPython 3.127400000244.59615384615387257.0Nuitka (main)7300000399.4038461538462260.3393970893971Nuitka (develop)7300000554.2115384615385260.3393970893971Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)436876689.78846153846155339.0405695718655CPython 3.116040000244.59615384615387275.8926135027052Nuitka (main)6540000399.4038461538462257.0Nuitka (develop)6540000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)563912689.78846153846155291.0397285932722CPython 3.106040000244.59615384615387275.8926135027052Nuitka (main)6540000399.4038461538462257.0Nuitka (develop)6540000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)2669911388.95192307692307302.34897550576335CPython 3.820200000242.31730769230768351.46306751352625Nuitka (main)20200000395.6826923076923351.46306751352625Nuitka (develop)32700000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 0010000001000000200000020000003000000300000040000004000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)279869689.78846153846155353.7673762541806CPython 2.74600000244.59615384615387257.0Nuitka (main)4600000399.4038461538462257.0Nuitka (develop)4600000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks

Source Code with Construct

    return x, y


for x in itertools.repeat(None, 10000):
    calledRepeatedly(value, empty)

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

    y = sum(empty)
    # construct_end

    return x, y


for x in itertools.repeat(None, 10000):
    calledRepeatedly(value, empty)

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.