mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 05:11:19 +00:00 
			
		
		
		
	 4bc6074273
			
		
	
	
		4bc6074273
		
			
		
	
	
	
	
		
			
			Add scripts to build and run benchmark of coremark, polybench, sightglass and jetstream2. And add documents.
		
			
				
	
	
		
			17 lines
		
	
	
		
			418 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			418 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 | |
| 
 | |
| IWASM="../../../product-mini/platforms/linux/build/iwasm"
 | |
| WAMRC="../../../wamr-compiler/build/wamrc"
 | |
| 
 | |
| echo "Run coremark with native .."
 | |
| ./coremark.exe
 | |
| 
 | |
| echo "Run coremark with iwasm mode .."
 | |
| ${IWASM} coremark.aot
 | |
| 
 | |
| echo "Run coremakr with iwasm interpreter .."
 | |
| ${IWASM} coremark.wasm
 |