Construct InplaceOperationIntegerMul

Performance Diagrams

Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)10346407888.11538461538461257.0CPython 3.1297800824240.03846153846155270.5262133238612Nuitka (main)97752018391.96153846153845270.64278241426126Nuitka (develop)97801973543.8846153846154270.52346903248576Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)9000231588.95192307692307257.0CPython 3.1180000420242.31730769230768284.46176173143647Nuitka (main)81500667395.6826923076923280.34259974740223Nuitka (develop)81500466549.0480769230769280.3431516242324Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)11164362788.11538461538461257.0CPython 3.1079302500240.03846153846155328.5848298040335Nuitka (main)79301438391.96153846153845328.5871804669913Nuitka (develop)79300850543.8846153846154328.5884819639962Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)6469778888.95192307692307257.0CPython 2.712850453242.31730769230768455.03264571901116Nuitka (main)12950445395.6826923076923454.65072290059175Nuitka (develop)12950445549.0480769230769454.65072290059175Nuitka (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.