Construct BuiltinSumWithTuple

Performance Diagrams

Construct BuiltinSumWithTuple 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)616851789.78846153846155341.9520387684124CPython 3.129400000244.59615384615387257.0Nuitka (main)9400000399.4038461538462257.0Nuitka (develop)9400000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)553936889.78846153846155291.5590097945533CPython 3.116440000244.59615384615387257.0Nuitka (main)6440000399.4038461538462257.0Nuitka (develop)6440000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)633864989.78846153846155260.8890359233158CPython 3.106440000244.59615384615387257.0Nuitka (main)6440000399.4038461538462257.0Nuitka (develop)6440000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 001000000100000020000002000000300000030000004000000400000050000005000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)329867289.78846153846155356.17480385313416CPython 2.75510000244.59615384615387257.0Nuitka (main)5510000399.4038461538462257.0Nuitka (develop)5510000554.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.