[js/web] WebAssembly profiling (#8932)
* add p50 in test
* Preallocate WebAssembly worker threads to minimize worker creation time
* WebAssembly profiling
* merge master
* merge with proxy changes
* disable profiling tests from WebAssembly build
* fix e2e test failure
Co-authored-by: Yulong Wang <yulongw@microsoft.com>