Browse Source

Change port for FAF (#7446)

I decide to implement this after this fascinating read.
https://github.com/TechEmpower/FrameworkBenchmarks/issues/7402
Andrii Kurdiumov 3 years ago
parent
commit
7c90e37850

+ 1 - 1
frameworks/Rust/faf/benchmark_config.json

@@ -4,7 +4,7 @@
       {
       {
          "default": {
          "default": {
             "plaintext_url": "/plaintext",
             "plaintext_url": "/plaintext",
-            "port": 8089,
+            "port": 8080,
             "approach": "Realistic",
             "approach": "Realistic",
             "classification": "Platform",
             "classification": "Platform",
             "database": "None",
             "database": "None",

+ 1 - 1
frameworks/Rust/faf/faf.dockerfile

@@ -12,5 +12,5 @@ RUN RUSTFLAGS="-Ctarget-cpu=native -Ztune-cpu=native -Zmutable-noalias=yes -Clin
    /root/.cargo/bin/cargo build --release --target x86_64-unknown-linux-gnu -Zbuild-std=panic_abort,core,std,alloc,proc_macro,compiler_builtins \
    /root/.cargo/bin/cargo build --release --target x86_64-unknown-linux-gnu -Zbuild-std=panic_abort,core,std,alloc,proc_macro,compiler_builtins \
    && strip ./target/x86_64-unknown-linux-gnu/release/faf-ex
    && strip ./target/x86_64-unknown-linux-gnu/release/faf-ex
 
 
-EXPOSE 8089
+EXPOSE 8080
 CMD ./target/x86_64-unknown-linux-gnu/release/faf-ex
 CMD ./target/x86_64-unknown-linux-gnu/release/faf-ex

+ 1 - 1
frameworks/Rust/faf/src/main.rs

@@ -75,5 +75,5 @@ fn cb(
 }
 }
 
 
 pub fn main() {
 pub fn main() {
-   faf::epoll::go(8089, cb);
+   faf::epoll::go(8080, cb);
 }
 }