From a7ea1e4f4cbbdd2eec71b56811476ee02c5b3426 Mon Sep 17 00:00:00 2001 From: Charlie Lye Date: Tue, 3 Jan 2023 19:04:13 +0000 Subject: [PATCH] Performance Improvements, Fixes, Cleanup, Local Devnet. (#2044) * Improve performance of confirmMined and getRollup. * Only use the sync db, if we're using sqlite. * Add indexes to some queried columns. * Improve falafel configurator such we can specify a data dir. Script to start a cloned prod. * Squashed commit of the following: commit ea2ee8a845408abacb60456bcaa61f369b17c822 Merge: 37facaab9 f88b923bd Author: Charlie Lye Date: Thu Dec 29 23:03:32 2022 +0000 Merge branch 'defi-bridge-project' into cl/falafel_sync_opt commit 37facaab9b89797cfc2e0c0ad9d352547d7bec04 Author: Charlie Lye Date: Sat Dec 24 11:36:38 2022 +0000 Fix. commit 279108bbe4ca5909d9f80fae9c26af438d68a3fa Author: Charlie Lye Date: Fri Dec 23 22:06:10 2022 +0000 Cleanup a bit. commit 97bc8e86a1327ba45104926beef64bc580fb15f5 Merge: 1384a7b94 76f44710a Author: Charlie Lye Date: Fri Dec 23 21:52:36 2022 +0000 Merge branch 'defi-bridge-project' into cl/falafel_sync_opt commit 1384a7b94ff01d73045ae93d2bc0c4d11b757041 Author: Charlie Lye Date: Sun Dec 18 23:07:10 2022 +0000 Sync improv. commit 4b23554df8875bca815f88238c936e02c0523aa5 Author: Charlie Lye Date: Sun Dec 18 07:05:59 2022 +0000 Initial work. * Cleanup kebab config mess. * Use logger in http job server. * Don't create temp file addresses.json. * Remove rollups from cached db. Just settled rollups now. * Wip * Fix nondeterministic get-blocks binary data by using mined time, not created time. * Fix. * Fix. * Massive script and test cleanup. * Make arch x86-64 so rosetta can run images. * Initial local devnet work. * Tweaks and fixes. * Focal ubuntu... * fix. * Fix prover test. * Fix. * config.yml * Remove commented code. * Index mined on rollup entity. Commented code removal. * Pin foundry. * Bridge query fixes * Bridge query fixes * Updated test Co-authored-by: PhilWindle --- cmake/arch.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/arch.cmake b/cmake/arch.cmake index 084c0b67df8..dd77b695554 100644 --- a/cmake/arch.cmake +++ b/cmake/arch.cmake @@ -6,5 +6,5 @@ if(WASM) endif() if(NOT WASM AND NOT APPLE) - add_compile_options(-march=skylake-avx512) + add_compile_options(-march=x86-64) endif()