benchmark-results/.ipynb_checkpoints/regression lines with R-checkpoint.ipynb
2020-04-20 13:57:40 -03:00

1188 lines
57 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [],
"source": [
"data = read.csv(\"new_repr_no_outlier.csv\")\n",
"data[\"SQRTIME\"] <- apply(data[\"TIME\"],2, sqrt)\n",
"data[\"LNTIME\"] <-apply(data[\"TIME\"],2, log)\n",
"data[\"LOG2TIME\"] <-apply(data[\"TIME\"],2, log2)\n",
"tests = list(\n",
"\"int_delete\",\n",
"\"int_insert\",\n",
"\"int_nosucc_lookup\",\n",
"\"int_succ_lookup\",\n",
"\"string_delete\",\n",
"\"string_insert\",\n",
"\"string_nosucc_lookup\",\n",
"\"string_succ_lookup\"\n",
")\n",
"\n",
"maps = list(\n",
"\"absl::flat_hash_map\",\n",
"\"absl::node_hash_map\",\n",
"\"boost::unordered::unordered_map\",\n",
"\"emilib::HashMap\",\n",
"\"google::dense_hash_map\",\n",
"\"google::sparse_hash_map\",\n",
"\"phmap::parallel_flat_hash_map\",\n",
"\"phmap::parallel_node_hash_map\",\n",
"\"robin_hood::unordered_flat_map\",\n",
"\"robin_hood::unordered_node_map\",\n",
"\"ska::bytell_hash_map\",\n",
"\"ska::flat_hash_map\",\n",
"\"ska::unordered_map\",\n",
"\"std::unordered_map\",\n",
"\"tsl::hopscotch_map\",\n",
"\"tsl::robin_map\",\n",
"\"tsl::sparse_map\" )\n"
]
},
{
"cell_type": "code",
"execution_count": 34,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[1] \"int_delete\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8983268\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.846827\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.7925503\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.793804\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9636119\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8815644\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8264142\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"absl::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.892875\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9196117\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9096905\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8576768\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9453438\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9689642\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9586425\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9476649\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"absl::node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9127461\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.8901596\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7076987\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.6987886\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7345624\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.8377184\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.6648682\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7049881\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"boost::unordered::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.9069237\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.7572595\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.4199685\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.4177698\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.5875779\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.4212078\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.848186\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.9147244\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"emilib::HashMap\"\n",
"$adj.r.squared\n",
"[1] 0.892306\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4079782\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4186519\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.405795\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4339703\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.3810376\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.7263214\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9300976\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"google::dense_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9009406\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.6561293\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.545677\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.3704349\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8042662\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9370902\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4562894\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.2135441\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"google::sparse_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9421012\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8693853\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8007863\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.706862\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9286919\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8710601\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8240802\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9574773\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"phmap::parallel_flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8783351\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.757098\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8632385\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8595887\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9313489\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8289395\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8040584\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8634171\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"phmap::parallel_node_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9195751\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.3386514\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.4776956\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.3166032\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.7023769\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.3249174\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.4975646\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.3211725\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"robin_hood::unordered_flat_map\"\n",
"$adj.r.squared\n",
"[1] 0.9142466\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.4516777\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.5488319\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.3199305\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.8757593\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.6842687\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.6972048\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.5391128\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"robin_hood::unordered_node_map\"\n",
"$adj.r.squared\n",
"[1] 0.9570433\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.3448315\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4992321\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4954099\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.6594642\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.712502\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4647026\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.5741025\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"ska::bytell_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9186759\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.1478805\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.2901637\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.3854264\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.4208054\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.3515788\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.7681774\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.9113427\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"ska::flat_hash_map\"\n",
"$adj.r.squared\n",
"[1] 0.8603994\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.4742274\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.529828\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.5374982\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7738706\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.8749056\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7615409\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.7571094\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"ska::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.9373415\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.5551932\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.792038\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.1685661\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.796052\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.9418974\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.954121\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.2808927\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"std::unordered_map\"\n",
"$adj.r.squared\n",
"[1] 0.9564568\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.2292175\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.4492408\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.378055\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.5328279\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.5375745\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.5818077\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.4678251\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"tsl::hopscotch_map\"\n",
"$adj.r.squared\n",
"[1] 0.8894541\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.1351438\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.2857977\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.297073\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.6921538\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.3270068\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.7677725\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.9016314\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"tsl::robin_map\"\n",
"$adj.r.squared\n",
"[1] 0.8605267\n",
"\n",
"[1] \"int_delete\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.7026044\n",
"\n",
"[1] \"int_insert\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.8152591\n",
"\n",
"[1] \"int_nosucc_lookup\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.5888382\n",
"\n",
"[1] \"int_succ_lookup\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.7962225\n",
"\n",
"[1] \"string_delete\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.7007159\n",
"\n",
"[1] \"string_insert\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.6287887\n",
"\n",
"[1] \"string_nosucc_lookup\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.6508464\n",
"\n",
"[1] \"string_succ_lookup\"\n",
"[1] \"tsl::sparse_map\"\n",
"$adj.r.squared\n",
"[1] 0.8940555\n",
"\n"
]
},
{
"data": {
"text/html": [
"<strong>$adj.r.squared</strong> = 0.894055478227228"
],
"text/latex": [
"\\textbf{\\$adj.r.squared} = 0.894055478227228"
],
"text/markdown": [
"**$adj.r.squared** = 0.894055478227228"
],
"text/plain": [
"$adj.r.squared\n",
"[1] 0.8940555\n"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"\n",
"for (map in maps){\n",
" for (test in tests){\n",
" print(test)\n",
" print(map)\n",
"\n",
" temp = subset(x = data, subset = TEST == test & MAP == map)\n",
" lm.fit = lm(SIZE~TIME+SQRTIME+LNTIME+LOG2TIME, data=temp)\n",
" rsq = summary(lm.fit)[\"adj.r.squared\"]\n",
"# print(map)\n",
"# print(test)\n",
" print(rsq)\n",
"\n",
" }\n",
"}\n",
"rsq"
]
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table>\n",
"<caption>A data.frame: 871 x 8</caption>\n",
"<thead>\n",
"\t<tr><th></th><th scope=col>X</th><th scope=col>TEST</th><th scope=col>MAP</th><th scope=col>SIZE</th><th scope=col>TIME</th><th scope=col>SQRTIME</th><th scope=col>LNTIME</th><th scope=col>LOG2TIME</th></tr>\n",
"\t<tr><th></th><th scope=col>&lt;int&gt;</th><th scope=col>&lt;fct&gt;</th><th scope=col>&lt;fct&gt;</th><th scope=col>&lt;int&gt;</th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl[,1]&gt;</th><th scope=col>&lt;dbl[,1]&gt;</th><th scope=col>&lt;dbl[,1]&gt;</th></tr>\n",
"</thead>\n",
"<tbody>\n",
"\t<tr><th scope=row>121467</th><td>125551</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121468</th><td>125552</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121469</th><td>125553</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>20</td><td>4.472136</td><td>2.995732</td><td>4.321928</td></tr>\n",
"\t<tr><th scope=row>121470</th><td>125554</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121471</th><td>125555</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121472</th><td>125556</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121473</th><td>125557</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>20</td><td>4.472136</td><td>2.995732</td><td>4.321928</td></tr>\n",
"\t<tr><th scope=row>121474</th><td>125558</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121475</th><td>125559</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121476</th><td>125560</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121477</th><td>125561</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121478</th><td>125562</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121479</th><td>125563</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121480</th><td>125564</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121481</th><td>125565</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121482</th><td>125566</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121483</th><td>125567</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121484</th><td>125568</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>121485</th><td>125569</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121486</th><td>125570</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>19</td><td>4.358899</td><td>2.944439</td><td>4.247928</td></tr>\n",
"\t<tr><th scope=row>121487</th><td>125571</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121488</th><td>125572</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121489</th><td>125573</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>20</td><td>4.472136</td><td>2.995732</td><td>4.321928</td></tr>\n",
"\t<tr><th scope=row>121490</th><td>125574</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121491</th><td>125575</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121492</th><td>125576</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121493</th><td>125577</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>19</td><td>4.358899</td><td>2.944439</td><td>4.247928</td></tr>\n",
"\t<tr><th scope=row>121494</th><td>125578</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>22</td><td>4.690416</td><td>3.091042</td><td>4.459432</td></tr>\n",
"\t<tr><th scope=row>121495</th><td>125579</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>26</td><td>5.099020</td><td>3.258097</td><td>4.700440</td></tr>\n",
"\t<tr><th scope=row>121496</th><td>125580</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000</td><td>21</td><td>4.582576</td><td>3.044522</td><td>4.392317</td></tr>\n",
"\t<tr><th scope=row>...</th><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td></tr>\n",
"\t<tr><th scope=row>122308</th><td>126451</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122309</th><td>126452</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122310</th><td>126453</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>267</td><td>16.34013</td><td>5.587249</td><td>8.060696</td></tr>\n",
"\t<tr><th scope=row>122311</th><td>126454</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>268</td><td>16.37071</td><td>5.590987</td><td>8.066089</td></tr>\n",
"\t<tr><th scope=row>122312</th><td>126455</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122313</th><td>126456</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122314</th><td>126457</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122315</th><td>126458</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122316</th><td>126459</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122317</th><td>126460</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>268</td><td>16.37071</td><td>5.590987</td><td>8.066089</td></tr>\n",
"\t<tr><th scope=row>122318</th><td>126461</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>271</td><td>16.46208</td><td>5.602119</td><td>8.082149</td></tr>\n",
"\t<tr><th scope=row>122319</th><td>126462</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>271</td><td>16.46208</td><td>5.602119</td><td>8.082149</td></tr>\n",
"\t<tr><th scope=row>122320</th><td>126463</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122321</th><td>126464</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122322</th><td>126465</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122323</th><td>126466</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122324</th><td>126467</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>271</td><td>16.46208</td><td>5.602119</td><td>8.082149</td></tr>\n",
"\t<tr><th scope=row>122325</th><td>126468</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122326</th><td>126469</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>267</td><td>16.34013</td><td>5.587249</td><td>8.060696</td></tr>\n",
"\t<tr><th scope=row>122327</th><td>126470</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122328</th><td>126471</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122329</th><td>126472</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>267</td><td>16.34013</td><td>5.587249</td><td>8.060696</td></tr>\n",
"\t<tr><th scope=row>122330</th><td>126473</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>269</td><td>16.40122</td><td>5.594711</td><td>8.071462</td></tr>\n",
"\t<tr><th scope=row>122331</th><td>126474</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>268</td><td>16.37071</td><td>5.590987</td><td>8.066089</td></tr>\n",
"\t<tr><th scope=row>122332</th><td>126475</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>268</td><td>16.37071</td><td>5.590987</td><td>8.066089</td></tr>\n",
"\t<tr><th scope=row>122333</th><td>126476</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>266</td><td>16.30951</td><td>5.583496</td><td>8.055282</td></tr>\n",
"\t<tr><th scope=row>122334</th><td>126477</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122335</th><td>126478</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>270</td><td>16.43168</td><td>5.598422</td><td>8.076816</td></tr>\n",
"\t<tr><th scope=row>122336</th><td>126479</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>272</td><td>16.49242</td><td>5.605802</td><td>8.087463</td></tr>\n",
"\t<tr><th scope=row>122337</th><td>126480</td><td>string_succ_lookup</td><td>tsl::sparse_map</td><td>50000000</td><td>268</td><td>16.37071</td><td>5.590987</td><td>8.066089</td></tr>\n",
"</tbody>\n",
"</table>\n"
],
"text/latex": [
"A data.frame: 871 x 8\n",
"\\begin{tabular}{r|llllllll}\n",
" & X & TEST & MAP & SIZE & TIME & SQRTIME & LNTIME & LOG2TIME\\\\\n",
" & <int> & <fct> & <fct> & <int> & <dbl> & <dbl{[},1{]}> & <dbl{[},1{]}> & <dbl{[},1{]}>\\\\\n",
"\\hline\n",
"\t121467 & 125551 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121468 & 125552 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121469 & 125553 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n",
"\t121470 & 125554 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121471 & 125555 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121472 & 125556 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121473 & 125557 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n",
"\t121474 & 125558 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121475 & 125559 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121476 & 125560 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121477 & 125561 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121478 & 125562 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121479 & 125563 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121480 & 125564 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121481 & 125565 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121482 & 125566 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121483 & 125567 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121484 & 125568 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t121485 & 125569 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121486 & 125570 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 19 & 4.358899 & 2.944439 & 4.247928\\\\\n",
"\t121487 & 125571 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121488 & 125572 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121489 & 125573 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n",
"\t121490 & 125574 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121491 & 125575 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121492 & 125576 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121493 & 125577 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 19 & 4.358899 & 2.944439 & 4.247928\\\\\n",
"\t121494 & 125578 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n",
"\t121495 & 125579 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 26 & 5.099020 & 3.258097 & 4.700440\\\\\n",
"\t121496 & 125580 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n",
"\t... & ... & ... & ... & ... & ... & ... & ... & ...\\\\\n",
"\t122308 & 126451 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122309 & 126452 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122310 & 126453 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n",
"\t122311 & 126454 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n",
"\t122312 & 126455 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122313 & 126456 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122314 & 126457 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122315 & 126458 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122316 & 126459 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122317 & 126460 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n",
"\t122318 & 126461 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n",
"\t122319 & 126462 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n",
"\t122320 & 126463 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122321 & 126464 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122322 & 126465 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122323 & 126466 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122324 & 126467 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n",
"\t122325 & 126468 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122326 & 126469 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n",
"\t122327 & 126470 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122328 & 126471 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122329 & 126472 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n",
"\t122330 & 126473 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n",
"\t122331 & 126474 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n",
"\t122332 & 126475 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n",
"\t122333 & 126476 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 266 & 16.30951 & 5.583496 & 8.055282\\\\\n",
"\t122334 & 126477 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122335 & 126478 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n",
"\t122336 & 126479 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 272 & 16.49242 & 5.605802 & 8.087463\\\\\n",
"\t122337 & 126480 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n",
"\\end{tabular}\n"
],
"text/markdown": [
"\n",
"A data.frame: 871 x 8\n",
"\n",
"| <!--/--> | X &lt;int&gt; | TEST &lt;fct&gt; | MAP &lt;fct&gt; | SIZE &lt;int&gt; | TIME &lt;dbl&gt; | SQRTIME &lt;dbl[,1]&gt; | LNTIME &lt;dbl[,1]&gt; | LOG2TIME &lt;dbl[,1]&gt; |\n",
"|---|---|---|---|---|---|---|---|---|\n",
"| 121467 | 125551 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121468 | 125552 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121469 | 125553 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n",
"| 121470 | 125554 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121471 | 125555 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121472 | 125556 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121473 | 125557 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n",
"| 121474 | 125558 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121475 | 125559 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121476 | 125560 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121477 | 125561 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121478 | 125562 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121479 | 125563 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121480 | 125564 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121481 | 125565 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121482 | 125566 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121483 | 125567 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121484 | 125568 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| 121485 | 125569 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121486 | 125570 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |\n",
"| 121487 | 125571 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121488 | 125572 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121489 | 125573 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n",
"| 121490 | 125574 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121491 | 125575 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121492 | 125576 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121493 | 125577 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |\n",
"| 121494 | 125578 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n",
"| 121495 | 125579 | string_succ_lookup | tsl::sparse_map | 50000 | 26 | 5.099020 | 3.258097 | 4.700440 |\n",
"| 121496 | 125580 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n",
"| ... | ... | ... | ... | ... | ... | ... | ... | ... |\n",
"| 122308 | 126451 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122309 | 126452 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122310 | 126453 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n",
"| 122311 | 126454 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n",
"| 122312 | 126455 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122313 | 126456 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122314 | 126457 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122315 | 126458 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122316 | 126459 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122317 | 126460 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n",
"| 122318 | 126461 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n",
"| 122319 | 126462 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n",
"| 122320 | 126463 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122321 | 126464 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122322 | 126465 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122323 | 126466 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122324 | 126467 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n",
"| 122325 | 126468 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122326 | 126469 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n",
"| 122327 | 126470 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122328 | 126471 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122329 | 126472 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n",
"| 122330 | 126473 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n",
"| 122331 | 126474 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n",
"| 122332 | 126475 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n",
"| 122333 | 126476 | string_succ_lookup | tsl::sparse_map | 50000000 | 266 | 16.30951 | 5.583496 | 8.055282 |\n",
"| 122334 | 126477 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122335 | 126478 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n",
"| 122336 | 126479 | string_succ_lookup | tsl::sparse_map | 50000000 | 272 | 16.49242 | 5.605802 | 8.087463 |\n",
"| 122337 | 126480 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n",
"\n"
],
"text/plain": [
" X TEST MAP SIZE TIME SQRTIME \n",
"121467 125551 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121468 125552 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121469 125553 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n",
"121470 125554 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121471 125555 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121472 125556 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121473 125557 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n",
"121474 125558 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121475 125559 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121476 125560 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121477 125561 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121478 125562 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121479 125563 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121480 125564 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121481 125565 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121482 125566 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121483 125567 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121484 125568 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"121485 125569 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121486 125570 string_succ_lookup tsl::sparse_map 50000 19 4.358899\n",
"121487 125571 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121488 125572 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121489 125573 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n",
"121490 125574 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121491 125575 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121492 125576 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121493 125577 string_succ_lookup tsl::sparse_map 50000 19 4.358899\n",
"121494 125578 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n",
"121495 125579 string_succ_lookup tsl::sparse_map 50000 26 5.099020\n",
"121496 125580 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n",
"... ... ... ... ... ... ... \n",
"122308 126451 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122309 126452 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122310 126453 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n",
"122311 126454 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n",
"122312 126455 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122313 126456 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122314 126457 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122315 126458 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122316 126459 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122317 126460 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n",
"122318 126461 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n",
"122319 126462 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n",
"122320 126463 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122321 126464 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122322 126465 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122323 126466 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122324 126467 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n",
"122325 126468 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122326 126469 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n",
"122327 126470 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122328 126471 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122329 126472 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n",
"122330 126473 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n",
"122331 126474 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n",
"122332 126475 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n",
"122333 126476 string_succ_lookup tsl::sparse_map 50000000 266 16.30951\n",
"122334 126477 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122335 126478 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n",
"122336 126479 string_succ_lookup tsl::sparse_map 50000000 272 16.49242\n",
"122337 126480 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n",
" LNTIME LOG2TIME\n",
"121467 3.044522 4.392317\n",
"121468 3.091042 4.459432\n",
"121469 2.995732 4.321928\n",
"121470 3.091042 4.459432\n",
"121471 3.044522 4.392317\n",
"121472 3.091042 4.459432\n",
"121473 2.995732 4.321928\n",
"121474 3.091042 4.459432\n",
"121475 3.091042 4.459432\n",
"121476 3.091042 4.459432\n",
"121477 3.091042 4.459432\n",
"121478 3.091042 4.459432\n",
"121479 3.091042 4.459432\n",
"121480 3.044522 4.392317\n",
"121481 3.044522 4.392317\n",
"121482 3.044522 4.392317\n",
"121483 3.091042 4.459432\n",
"121484 3.044522 4.392317\n",
"121485 3.091042 4.459432\n",
"121486 2.944439 4.247928\n",
"121487 3.091042 4.459432\n",
"121488 3.091042 4.459432\n",
"121489 2.995732 4.321928\n",
"121490 3.091042 4.459432\n",
"121491 3.091042 4.459432\n",
"121492 3.091042 4.459432\n",
"121493 2.944439 4.247928\n",
"121494 3.091042 4.459432\n",
"121495 3.258097 4.700440\n",
"121496 3.044522 4.392317\n",
"... ... ... \n",
"122308 5.594711 8.071462\n",
"122309 5.594711 8.071462\n",
"122310 5.587249 8.060696\n",
"122311 5.590987 8.066089\n",
"122312 5.598422 8.076816\n",
"122313 5.598422 8.076816\n",
"122314 5.598422 8.076816\n",
"122315 5.598422 8.076816\n",
"122316 5.594711 8.071462\n",
"122317 5.590987 8.066089\n",
"122318 5.602119 8.082149\n",
"122319 5.602119 8.082149\n",
"122320 5.598422 8.076816\n",
"122321 5.598422 8.076816\n",
"122322 5.598422 8.076816\n",
"122323 5.594711 8.071462\n",
"122324 5.602119 8.082149\n",
"122325 5.594711 8.071462\n",
"122326 5.587249 8.060696\n",
"122327 5.598422 8.076816\n",
"122328 5.594711 8.071462\n",
"122329 5.587249 8.060696\n",
"122330 5.594711 8.071462\n",
"122331 5.590987 8.066089\n",
"122332 5.590987 8.066089\n",
"122333 5.583496 8.055282\n",
"122334 5.598422 8.076816\n",
"122335 5.598422 8.076816\n",
"122336 5.605802 8.087463\n",
"122337 5.590987 8.066089"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"datatemp = subset(x = data, subset = TEST == test & MAP == map)\n",
"datatemp"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 201,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "R",
"language": "R",
"name": "ir"
},
"language_info": {
"codemirror_mode": "r",
"file_extension": ".r",
"mimetype": "text/x-r-source",
"name": "R",
"pygments_lexer": "r",
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 4
}