Construct InplaceOperationIntegerMul

Performance Diagrams

Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)10311426288.11538461538461257.0CPython 3.12100281931240.03846153846155263.7877377081269Nuitka (main)99418552391.96153846153845265.85684269433966Nuitka (develop)99418552543.8846153846154265.85684269433966Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)9000237788.95192307692307257.0CPython 3.1180000525242.31730769230768284.4616247507125Nuitka (main)80000375395.6826923076923284.4620365988095Nuitka (develop)80000375549.0480769230769284.4620365988095Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)11169356888.11538461538461257.0CPython 3.1079301059240.03846153846155328.6665020513295Nuitka (main)79300951391.96153846153845328.6667409949143Nuitka (develop)79300951543.8846153846154328.6667409949143Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)6469779288.95192307692307257.0CPython 2.712850584242.31730769230768455.0321483947064Nuitka (main)12850436395.6826923076923455.03271368566595Nuitka (develop)12850436549.0480769230769455.03271368566595Nuitka (factory)Construct InplaceOperationIntegerMulTicks

Source Code with Construct

    # construct_begin
    s *= 1000
    s *= 1000
    s *= 1000
    s *= 1000
    s *= 1000
    # construct_end
    s *= module_value2

    return s


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

    # construct_begin






    s *= module_value2

    return s


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.