refactor: remove active key

master
Sean McBride 4 years ago
parent 9be97568eb
commit ed296466d1

@ -60,7 +60,6 @@ An SLEdge serverless function consists of a shared library (\*.so) and a JSON co
```json ```json
{ {
"active": true,
"name": "fibonacci", "name": "fibonacci",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "ekf_first_iter", "name": "ekf_first_iter",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "application/octet-stream" "http-resp-content-type": "application/octet-stream"
}, },
{ {
"active": true,
"name": "ekf_second_iter", "name": "ekf_second_iter",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "application/octet-stream" "http-resp-content-type": "application/octet-stream"
}, },
{ {
"active": true,
"name": "ekf_third_iter", "name": "ekf_third_iter",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "ekf", "name": "ekf",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "cifar10_rand", "name": "cifar10_rand",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "cifar10_same", "name": "cifar10_same",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10001, "port": 10001,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "resize_small", "name": "resize_small",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "image/png" "http-resp-content-type": "image/png"
}, },
{ {
"active": true,
"name": "resize_medium", "name": "resize_medium",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "image/png" "http-resp-content-type": "image/png"
}, },
{ {
"active": true,
"name": "resize_large", "name": "resize_large",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "resize", "name": "resize",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "lpd1", "name": "lpd1",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "lpd2", "name": "lpd2",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "lpd4", "name": "lpd4",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr_72_dpi", "name": "gocr_72_dpi",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_108_dpi", "name": "gocr_108_dpi",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_144_dpi", "name": "gocr_144_dpi",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr_mono", "name": "gocr_mono",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_urw_gothic", "name": "gocr_urw_gothic",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_lobster_2", "name": "gocr_lobster_2",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr_1_word", "name": "gocr_1_word",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_10_words", "name": "gocr_10_words",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr_100_words", "name": "gocr_100_words",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10002, "port": 10002,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "hello_ps", "name": "hello_ps",
"path": "hello_ps_wasm.so", "path": "hello_ps_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "fibonacci_10", "name": "fibonacci_10",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10010, "port": 10010,
@ -13,7 +12,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "fibonacci_40", "name": "fibonacci_40",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10040, "port": 10040,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "empty", "name": "empty",
"path": "empty_wasm.so", "path": "empty_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "cifar10", "name": "cifar10",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "ekf", "name": "ekf",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "lpd", "name": "lpd",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "resize", "name": "resize",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "ekf", "name": "ekf",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "application/octet-stream" "http-resp-content-type": "application/octet-stream"
}, },
{ {
"active": true,
"name": "resize", "name": "resize",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "image/png" "http-resp-content-type": "image/png"
}, },
{ {
"active": true,
"name": "lpd", "name": "lpd",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10002, "port": 10002,
@ -38,7 +35,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10003, "port": 10003,
@ -51,7 +47,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "cifar10", "name": "cifar10",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10004, "port": 10004,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work1k", "name": "work1k",
"path": "work1k_wasm.so", "path": "work1k_wasm.so",
"port": 10000, "port": 10000,
@ -12,7 +11,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "work10k", "name": "work10k",
"path": "work10k_wasm.so", "path": "work10k_wasm.so",
"port": 10001, "port": 10001,
@ -25,7 +23,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "work100k", "name": "work100k",
"path": "work100k_wasm.so", "path": "work100k_wasm.so",
"port": 10002, "port": 10002,
@ -38,7 +35,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "work1m", "name": "work1m",
"path": "work1m_wasm.so", "path": "work1m_wasm.so",
"port": 10003, "port": 10003,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "fibonacci_10", "name": "fibonacci_10",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10010, "port": 10010,
@ -13,7 +12,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "fibonacci_40", "name": "fibonacci_40",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10040, "port": 10040,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "cifar10_1.5", "name": "cifar10_1.5",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10018, "port": 10018,
@ -13,7 +12,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "cifar10_1.6", "name": "cifar10_1.6",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10019, "port": 10019,
@ -27,7 +25,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "cifar10_1.7", "name": "cifar10_1.7",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10020, "port": 10020,
@ -41,7 +38,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "cifar10_1.8", "name": "cifar10_1.8",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10021, "port": 10021,
@ -55,7 +51,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "cifar10_1.9", "name": "cifar10_1.9",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10022, "port": 10022,
@ -69,7 +64,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "cifar10_2.0", "name": "cifar10_2.0",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10023, "port": 10023,
@ -83,7 +77,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_1.5", "name": "ekf_1.5",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10000, "port": 10000,
@ -97,7 +90,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_1.6", "name": "ekf_1.6",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10001, "port": 10001,
@ -111,7 +103,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_1.7", "name": "ekf_1.7",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10002, "port": 10002,
@ -125,7 +116,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_1.8", "name": "ekf_1.8",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10003, "port": 10003,
@ -139,7 +129,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_1.9", "name": "ekf_1.9",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10004, "port": 10004,
@ -153,7 +142,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "ekf_2.0", "name": "ekf_2.0",
"path": "ekf_wasm.so", "path": "ekf_wasm.so",
"port": 10005, "port": 10005,
@ -167,7 +155,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_1.5", "name": "gocr_1.5",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10006, "port": 10006,
@ -181,7 +168,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_1.6", "name": "gocr_1.6",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10007, "port": 10007,
@ -195,7 +181,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_1.7", "name": "gocr_1.7",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10008, "port": 10008,
@ -209,7 +194,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_1.8", "name": "gocr_1.8",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10009, "port": 10009,
@ -223,7 +207,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_1.9", "name": "gocr_1.9",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10010, "port": 10010,
@ -237,7 +220,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "gocr_2.0", "name": "gocr_2.0",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10011, "port": 10011,
@ -251,7 +233,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_1.5", "name": "lpd_1.5",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10012, "port": 10012,
@ -265,7 +246,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_1.6", "name": "lpd_1.6",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10013, "port": 10013,
@ -279,7 +259,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_1.7", "name": "lpd_1.7",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10014, "port": 10014,
@ -293,7 +272,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_1.8", "name": "lpd_1.8",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10015, "port": 10015,
@ -307,7 +285,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_1.9", "name": "lpd_1.9",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10016, "port": 10016,
@ -321,7 +298,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "lpd_2.0", "name": "lpd_2.0",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10017, "port": 10017,
@ -335,7 +311,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_1.5", "name": "resize_1.5",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10018, "port": 10018,
@ -349,7 +324,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_1.6", "name": "resize_1.6",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10019, "port": 10019,
@ -363,7 +337,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_1.7", "name": "resize_1.7",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10020, "port": 10020,
@ -377,7 +350,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_1.8", "name": "resize_1.8",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10021, "port": 10021,
@ -391,7 +363,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_1.9", "name": "resize_1.9",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10022, "port": 10022,
@ -405,7 +376,6 @@
"admissions-percentile": 90 "admissions-percentile": 90
}, },
{ {
"active": true,
"name": "resize_2.0", "name": "resize_2.0",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10023, "port": 10023,

@ -390,7 +390,6 @@ module_new_from_json(char *file_name)
uint32_t relative_deadline_us = 0; uint32_t relative_deadline_us = 0;
uint32_t expected_execution_us = 0; uint32_t expected_execution_us = 0;
int admissions_percentile = 50; int admissions_percentile = 50;
bool is_active = false;
int32_t request_count = 0; int32_t request_count = 0;
int32_t response_count = 0; int32_t response_count = 0;
int j = 1; int j = 1;
@ -429,15 +428,6 @@ module_new_from_json(char *file_name)
argument_count = atoi(val); argument_count = atoi(val);
if (argument_count < 0 || argument_count > 127) if (argument_count < 0 || argument_count > 127)
panic("Expected argument count between 0 and 127, saw %d\n", argument_count); panic("Expected argument count between 0 and 127, saw %d\n", argument_count);
} else if (strcmp(key, "active") == 0) {
assert(tokens[i + j + 1].type == JSMN_PRIMITIVE);
if (val[0] == 't') {
is_active = true;
} else if (val[0] == 'f') {
is_active = false;
} else {
panic("Expected active key to be a JSON boolean, was %s\n", val);
}
} else if (strcmp(key, "relative-deadline-us") == 0) { } else if (strcmp(key, "relative-deadline-us") == 0) {
int64_t buffer = strtoll(val, NULL, 10); int64_t buffer = strtoll(val, NULL, 10);
if (buffer < 0 || buffer > (int64_t)RUNTIME_RELATIVE_DEADLINE_US_MAX) if (buffer < 0 || buffer > (int64_t)RUNTIME_RELATIVE_DEADLINE_US_MAX)
@ -518,17 +508,15 @@ module_new_from_json(char *file_name)
/* argsize defaults to 0 if absent */ /* argsize defaults to 0 if absent */
if (is_active) {
/* Allocate a module based on the values from the JSON */ /* Allocate a module based on the values from the JSON */
struct module *module = module_new(module_name, module_path, argument_count, 0, 0, struct module *module = module_new(module_name, module_path, argument_count, 0, 0, relative_deadline_us,
relative_deadline_us, port, request_size, response_size, port, request_size, response_size, admissions_percentile,
admissions_percentile, expected_execution_us); expected_execution_us);
if (module == NULL) goto module_new_err; if (module == NULL) goto module_new_err;
assert(module); assert(module);
module_set_http_info(module, response_count, reponse_headers, response_content_type); module_set_http_info(module, response_count, reponse_headers, response_content_type);
module_count++; module_count++;
}
free(reponse_headers); free(reponse_headers);
} }

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "fibonacci", "name": "fibonacci",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "fibonacci", "name": "fibonacci",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10000, "port": 10000,
@ -11,7 +10,6 @@
"http-resp-content-type": "text/plain" "http-resp-content-type": "text/plain"
}, },
{ {
"active": true,
"name": "fibonacci2", "name": "fibonacci2",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10001, "port": 10001,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "cifar10", "name": "cifar10",
"path": "cifar10_wasm.so", "path": "cifar10_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "empty", "name": "empty",
"path": "empty_wasm.so", "path": "empty_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "fibonacci", "name": "fibonacci",
"path": "fibonacci_wasm.so", "path": "fibonacci_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "gocr", "name": "gocr",
"path": "gocr_wasm.so", "path": "gocr_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": false,
"name": "adpcm", "name": "adpcm",
"path": "adpcm_wasm.so", "path": "adpcm_wasm.so",
"port": 10000, "port": 10000,
@ -7,7 +6,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": true,
"name": "bitcount", "name": "bitcount",
"path": "bitcount_wasm.so", "path": "bitcount_wasm.so",
"port": 10002, "port": 10002,
@ -15,7 +13,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": true,
"name": "basic_math", "name": "basic_math",
"path": "basic_math_wasm.so", "path": "basic_math_wasm.so",
"port": 10004, "port": 10004,
@ -23,7 +20,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "binarytrees", "name": "binarytrees",
"path": "binarytrees_wasm.so", "path": "binarytrees_wasm.so",
"port": 10006, "port": 10006,
@ -31,7 +27,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "crc", "name": "crc",
"path": "crc_wasm.so", "path": "crc_wasm.so",
"port": 10008, "port": 10008,
@ -39,7 +34,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "dijkstra", "name": "dijkstra",
"path": "dijkstra_wasm.so", "path": "dijkstra_wasm.so",
"port": 10010, "port": 10010,
@ -47,7 +41,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "forever", "name": "forever",
"path": "forever_wasm.so", "path": "forever_wasm.so",
"port": 10012, "port": 10012,
@ -55,7 +48,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "fornever", "name": "fornever",
"path": "forever_wasm.so", "path": "forever_wasm.so",
"port": 10014, "port": 10014,
@ -63,7 +55,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "fft", "name": "fft",
"path": "fft_wasm.so", "path": "fft_wasm.so",
"port": 10016, "port": 10016,
@ -71,7 +62,6 @@
"argsize": 3 "argsize": 3
}, },
{ {
"active": false,
"name": "function_pointers", "name": "function_pointers",
"path": "function_pointers_wasm.so", "path": "function_pointers_wasm.so",
"port": 10018, "port": 10018,
@ -79,7 +69,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "gsm", "name": "gsm",
"path": "gsm_wasm.so", "path": "gsm_wasm.so",
"port": 10020, "port": 10020,
@ -87,7 +76,6 @@
"argsize": 4 "argsize": 4
}, },
{ {
"active": false,
"name": "libjpeg", "name": "libjpeg",
"path": "libjpeg_wasm.so", "path": "libjpeg_wasm.so",
"port": 10022, "port": 10022,
@ -95,7 +83,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "mandelbrot", "name": "mandelbrot",
"path": "mandelbrot_wasm.so", "path": "mandelbrot_wasm.so",
"port": 10024, "port": 10024,
@ -103,7 +90,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "matrix_multiply", "name": "matrix_multiply",
"path": "matrix_multiply_wasm.so", "path": "matrix_multiply_wasm.so",
"port": 10026, "port": 10026,
@ -111,7 +97,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "particia", "name": "particia",
"path": "partricia_wasm.so", "path": "partricia_wasm.so",
"port": 10028, "port": 10028,
@ -119,7 +104,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "sqlite", "name": "sqlite",
"path": "sqlite_wasm.so", "path": "sqlite_wasm.so",
"port": 10030, "port": 10030,
@ -127,7 +111,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": true,
"name": "stringsearch", "name": "stringsearch",
"path": "stringsearch_wasm.so", "path": "stringsearch_wasm.so",
"port": 10032, "port": 10032,
@ -135,7 +118,6 @@
"argsize": 1 "argsize": 1
}, },
{ {
"active": false,
"name": "filesys", "name": "filesys",
"path": "filesys_wasm.so", "path": "filesys_wasm.so",
"port": 10034, "port": 10034,
@ -143,7 +125,6 @@
"argsize": 3 "argsize": 3
}, },
{ {
"active": false,
"name": "sockserver", "name": "sockserver",
"path": "sockserver_wasm.so", "path": "sockserver_wasm.so",
"port": 10036, "port": 10036,
@ -151,7 +132,6 @@
"argsize": 2 "argsize": 2
}, },
{ {
"active": false,
"name": "sockclient", "name": "sockclient",
"path": "sockclient_wasm.so", "path": "sockclient_wasm.so",
"port": 10038, "port": 10038,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "lpd", "name": "lpd",
"path": "lpd_wasm.so", "path": "lpd_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "resize", "name": "resize",
"path": "resize_wasm.so", "path": "resize_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work", "name": "work",
"path": "work_wasm.so", "path": "work_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work100k", "name": "work100k",
"path": "work100k_wasm.so", "path": "work100k_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work10k", "name": "work10k",
"path": "work10k_wasm.so", "path": "work10k_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work1k", "name": "work1k",
"path": "work1k_wasm.so", "path": "work1k_wasm.so",
"port": 10000, "port": 10000,

@ -1,5 +1,4 @@
{ {
"active": true,
"name": "work1m", "name": "work1m",
"path": "work1m_wasm.so", "path": "work1m_wasm.so",
"port": 10000, "port": 10000,

Loading…
Cancel
Save