From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 29ADB165169D; Fri, 26 Dec 2025 12:34:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 29ADB165169D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1766741665; bh=17qaaBboTjMF7Ezy2AUVIkNcQjYRG71v0trlgRErSgs=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=yE4CzLfILhfSMp7/IjrZFlGOpP1K2kF7ccW9QxZ8dEnk2xJToe2MTTHgE2pNnK8jF pkoA6+D7lA14QMWtsuUJJUEqnx8L2xO6WK9Cf+tKW9JxWIivwbtirbTD8Uzscp5h/4 Qck5qk7+9ko6EylNU07RDpz1lqIjslzRDIVrsK3M= Received: from send37.i.mail.ru (send37.i.mail.ru [89.221.237.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7DF9716C65AB for ; Fri, 26 Dec 2025 12:19:53 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7DF9716C65AB Received: by exim-smtp-7b4fb89df9-lft7n with esmtpa (envelope-from ) id 1vZ3zE-000000008Cp-2fnE; Fri, 26 Dec 2025 12:19:52 +0300 To: Sergey Bronnikov Date: Fri, 26 Dec 2025 12:18:03 +0300 Message-ID: <68126d8ab8cee62099b64e6c5de6f47abfb727f8.1766738771.git.skaplun@tarantool.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD979975AF0D777FEBD390EF5E93CD1F773F45ED97938852624182A05F538085040795EC0A6BEB1A6473DE06ABAFEAF6705FD54C0F76EB729D0B4FA2C6BBBE99EF9D5DA017CF5BD799E X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE736691C7D10565E03C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7548C33FFD72831AFEA1F7E6F0F101C67CDEEF6D7F21E0D1D9295C2E9FA3191EE1B59CA4C82EFA6588FBCB058270389D712BA5BE5283176911EE139DED0D00739117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC55D5BE2F85BDEC5FA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751F618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6BF3059D42242344A089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5FEB7C64E7CE4B1E85002B1117B3ED696F097FD16BE3215ECE772F934B9BCD185823CB91A9FED034534781492E4B8EEAD6804EF05EF4ADF2AF36E2E0160E5C55395B8A2A0B6518DF68C46860778A80D548E8926FB43031F38 X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D659703807C7BB615DB807B60856D60124E92B55875EB35F6F47D9ACB11607A9A7B36EEE9885E83B3268B8341EE9D5BE9A0A3A84F877C8E634B905D8439B09F6DFF02FF779692BDBCD186536EB022892E5344C41F94D744909CECFA6C6B0C050A61A8CAF69B82BA93681CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVdtTL5f5BIXbxx7ogLKDYmg= X-DA7885C5: 5D295769089CB676F255D290C0D534F90130901B05F6FE734A923C40A45A65A85814964BD44150A05B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393DDD5FD59B456EAD2AE02C567594037208700636FE984EBB8EB4B0F76E2E17DE1E49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 luajit 32/41] perf: adjust scimark-sor in LuaJIT-benches X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This patch adjusts the aforementioned test to use the benchmark framework introduced before. The default arguments are adjusted according to the file. The arguments to the script still can be provided in the command line run. Checks are omitted since they were not present in the original suite, plus the precise result value depends on the input parameter. --- perf/LuaJIT-benches/scimark-sor.lua | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/perf/LuaJIT-benches/scimark-sor.lua b/perf/LuaJIT-benches/scimark-sor.lua index e537e986..9bcdb0ad 100644 --- a/perf/LuaJIT-benches/scimark-sor.lua +++ b/perf/LuaJIT-benches/scimark-sor.lua @@ -1 +1,19 @@ -require("scimark_lib").SOR(100)(tonumber(arg and arg[1]) or 50000) +local bench = require("bench").new(arg) + +local cycles = tonumber(arg and arg[1]) or 50000 + +local benchmark +benchmark = { + name = "scimark_sor", + -- XXX: The description of tests for the function is too + -- inconvenient. + skip_check = true, + payload = function() + local flops = require("scimark_lib").SOR(100)(cycles) + benchmark.items = flops + end, +} + +bench:add(benchmark) + +bench:run_and_report() -- 2.52.0