...
 
Commits (1)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# [![BlenDB Logo](https://gitlab.c3sl.ufpr.br/c3sl/blendb/raw/master/artwork/logo-wide.png)](https://gitlab.c3sl.ufpr.br/c3sl/blendb)
[![Build Status](https://gitlab.c3sl.ufpr.br/c3sl/blendb/badges/master/build.svg)](https://gitlab.c3sl.ufpr.br/c3sl/blendb/commits/master)
[![Coverage Report](https://gitlab.c3sl.ufpr.br/c3sl/blendb/badges/master/coverage.svg)](https://gitlab.c3sl.ufpr.br/c3sl/blendb/builds)
<p align="center">
<b><a href="#getting-started">Getting Started</a></b>
|
<b><a href="#api-reference">API Reference</a></b>
|
<b><a href="#contributing">Contributing</a></b>
|
<b><a href="#license">License</a></b>
|
<b><a href="#built-with">Built With</a></b>
</p>
## WARNING
This branch has been frozen in the version used to perform the experiments to
ICDE2019 Conference. This version of the source code is EXACTLY the same used
in the experiments. To the most recent version, check out the develop branch.
To the last stable version, check out the master branch.
<br/>
## Experiment method
## Getting Started
All experiment data, analysis and extraction tools are contained in the
**experiments** diretory. The remaining files are the original source code
of BlenDB, use in the experiments.
### Installing
The test tool can be used to test the performance of any function in
BlenDB source code.
```
git clone https://gitlab.c3sl.ufpr.br/c3sl/blendb.git
npm install
```
The results of the experiments are the performance of the functions:
### Running
Engine.query()
Adapter.getDataFromView()
```
npm start
```
To better understand BlenDB check out the other branches.
## API Reference
## Schema Files
Check the documentation [here](https://gitlab.c3sl.ufpr.br/c3sl/blendb/raw/master/doc/api-v1-reference.html).
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting merge requests to us.
## License
This project is licensed under the GPLv3 License -- see the [LICENSE](LICENSE) file for details
## Built With
| [![express](https://gitlab.c3sl.ufpr.br/c3sl/blendb/raw/master/artwork/built-with/express.png)](https://expressjs.com) | [![TypeScript](https://gitlab.c3sl.ufpr.br/c3sl/blendb/raw/master/artwork/built-with/typescript.png)](https://www.typescriptlang.org/) | [![RAML](https://gitlab.c3sl.ufpr.br/c3sl/blendb/raw/master/artwork/built-with/raml.png)](http://raml.org/) |
|:---:|:---:|:---:|
|express|TypeScript|RAML|
The schema file were very large and removed from the branch, however
they can be easyly generated using the script **genGraph.sh** and
**testGen.sh**
#!/usr/bin/env Rscript
opt <- commandArgs(TRUE)
if( length(opt) == 0 ) {
stop("Passe o nome do arquivo com uma coluna de valores.")
}
ConfidenceInterval <- function(conf, avg, sde, size) {
error <- qnorm(conf) * sde / sqrt(size)
left <- avg - error
right <- avg + error
return( list("left" = left, "right" = right) )
}
vals <- read.table(opt, header=FALSE, sep=" ")[,2]
un_vals <- unlist(vals)
avg <- mean(un_vals)
median <- median(un_vals)
sde <- sd(un_vals)
vari <- var(un_vals)
cv <- sde / avg
mi <- min(un_vals)
ma <- max(un_vals)
message(paste("Media =", round(avg, 2)))
message(paste("Mediana =", round(median, 2)))
message(paste("Variancia =", round(vari, 2)))
message(paste("Desvio Padrao =", round(sde, 2)))
message(paste("Coef. Variacao =", round(cv, 2)))
message(paste("Min =", mi))
message(paste("Max =", ma))
lr <- ConfidenceInterval(0.95, avg, sde, length(un_vals))
# message("Intervalo de confianca")
message(paste("Esq, Dir. =", round(lr$left, 4), ",", round(lr$right, 4)))
#! /bin/bash
dirList="2018-09-27"
outputLinearView="results/linearView.csv"
outputLinearSQL="results/linearSQL.csv"
files=""
for dir in $dirList; do
files="$files $(find $dir | grep '.test')"
done
for file in $files; do
cat $file | grep 'LayoutView' | grep 'ms)' | cut -d';' -f2 > tmp.tmp
header=$(cat tmp.tmp | cut -d' ' -f1 | cut -d'=' -f2| tr '\n' ';' | sed -e 's/;$//')
line=$(cat tmp.tmp | cut -d' ' -f2 | sed -e 's/m\|s\|(\|)//g' | tr '\n' ';' | sed -e 's/;$//')
touch $outputLinearView
fileHeader=$(head -n1 $outputLinearView)
if [[ $header == $fileHeader ]]; then
echo "$line" >> $outputLinearView
else
if [[ $(wc -l $outputLinearView) -eq 0 ]]; then
echo "$header" > $outputLinearView
echo "$line" >> $outputLinearView
fi
fi
rm tmp.tmp
done
Media = 696.9
Mediana = 693.5
Variancia = 2106.52
Desvio Padrao = 45.9
Coef. Variacao = 0.07
Min = 615
Max = 826
Esq, Dir. = 680.0191 , 713.7809
1024 736
1024 679
1024 826
1024 700
1024 679
1024 686
1024 661
1024 735
1024 687
1024 730
1024 635
1024 615
1024 667
1024 711
1024 722
1024 732
1024 714
1024 709
1024 659
1024 655
Media = 909.7
Mediana = 911
Variancia = 1848.96
Desvio Padrao = 43
Coef. Variacao = 0.05
Min = 833
Max = 987
Esq, Dir. = 893.8848 , 925.5152
1024 987
1024 863
1024 900
1024 856
1024 949
1024 885
1024 936
1024 921
1024 833
1024 875
1024 859
1024 973
1024 942
1024 868
1024 914
1024 925
1024 975
1024 908
1024 908
1024 917
Media = 1650.85
Mediana = 1620.5
Variancia = 10177.08
Desvio Padrao = 100.88
Coef. Variacao = 0.06
Min = 1514
Max = 1855
Esq, Dir. = 1613.7457 , 1687.9543
1024 1767
1024 1715
1024 1582
1024 1622
1024 1682
1024 1657
1024 1849
1024 1618
1024 1779
1024 1701
1024 1619
1024 1666
1024 1567
1024 1527
1024 1535
1024 1514
1024 1855
1024 1594
1024 1596
1024 1572
Media = 443.75
Mediana = 439
Variancia = 693.78
Desvio Padrao = 26.34
Coef. Variacao = 0.06
Min = 411
Max = 514
Esq, Dir. = 434.0623 , 453.4377
128 497
128 425
128 465
128 447
128 431
128 450
128 420
128 424
128 459
128 441
128 423
128 411
128 434
128 514
128 449
128 454
128 456
128 437
128 424
128 414
Media = 815.95
Mediana = 824
Variancia = 2620.26
Desvio Padrao = 51.19
Coef. Variacao = 0.06
Min = 740
Max = 903
Esq, Dir. = 797.1229 , 834.7771
128 898
128 756
128 872
128 764
128 862
128 784
128 848
128 772
128 740
128 796
128 758
128 903
128 844
128 769
128 822
128 826
128 879
128 828
128 763
128 835
Media = 1589.75
Mediana = 1580
Variancia = 7505.46
Desvio Padrao = 86.63
Coef. Variacao = 0.05
Min = 1472
Max = 1814
Esq, Dir. = 1557.886 , 1621.614
128 1598
128 1682
128 1538
128 1584
128 1583
128 1620
128 1696
128 1554
128 1670
128 1676
128 1472
128 1629
128 1515
128 1476
128 1525
128 1478
128 1814
128 1577
128 1566
128 1542
Media = 701.55
Mediana = 698
Variancia = 1521.52
Desvio Padrao = 39.01
Coef. Variacao = 0.06
Min = 626
Max = 796
Esq, Dir. = 687.2033 , 715.8967
16 730
16 705
16 697
16 745
16 691
16 693
16 690
16 665
16 702
16 696
16 626
16 626
16 699
16 796
16 718
16 724
16 747
16 674
16 687
16 720
Media = 1195.05
Mediana = 1148
Variancia = 9367.31
Desvio Padrao = 96.78
Coef. Variacao = 0.08
Min = 1086
Max = 1361
Esq, Dir. = 1159.4525 , 1230.6475
16 1292
16 1100
16 1307
16 1109
16 1263
16 1212
16 1335
16 1086
16 1128
16 1090
16 1097
16 1300
16 1341
16 1122
16 1144
16 1121
16 1361
16 1152
16 1141
16 1200
Media = 2122
Mediana = 2105
Variancia = 11836.32
Desvio Padrao = 108.79
Coef. Variacao = 0.05
Min = 1918
Max = 2401
Esq, Dir. = 2081.9852 , 2162.0148
16 2087
16 2266
16 2041
16 2097
16 2158
16 2185
16 2201
16 2101
16 2197
16 2191
16 1918
16 2165
16 2100
16 1983
16 2082
16 1957
16 2401
16 2066
16 2135
16 2109
Media = 56748.15
Mediana = 56557
Variancia = 13325501.82
Desvio Padrao = 3650.41
Coef. Variacao = 0.06
Min = 50178
Max = 63235
Esq, Dir. = 55405.5271 , 58090.7729
16384 59159
16384 54442
16384 63221
16384 56629
16384 60480
16384 58591
16384 54814
16384 63235
16384 54688
16384 57954
16384 51804
16384 50178
16384 52180
16384 53782
16384 58723
16384 56485
16384 60831
16384 58633
16384 54965
16384 54169
Media = 7896.85
Mediana = 7861
Variancia = 95302.24
Desvio Padrao = 308.71
Coef. Variacao = 0.04