View ApplicationPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cc.takacs.php_codeverage_display; | |
import cc.takacs.php_codeverage_display.toolbar.ToggleIconService; | |
import com.intellij.ide.util.PropertiesComponent; | |
import com.intellij.openapi.actionSystem.ActionManager; | |
import com.intellij.openapi.actionSystem.AnAction; | |
import com.intellij.openapi.application.ApplicationManager; | |
import com.intellij.openapi.components.ApplicationComponent; | |
import org.jetbrains.annotations.NotNull; |
View todo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"ID":1,"Name":"Item #1","Done":1}, | |
{"ID":2,"Name":"Item #2","Done":1}, | |
{"ID":3,"Name":"Item #3","Done":1}, | |
{"ID":4,"Name":"Item #4","Done":1} | |
] |
View example.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data=[[101, "ABC", "MX993767772", "04/12/2000", 1, "J176", 1], | |
[101, "ABC", "MX993767772", "04/12/2000", 1, "J108", 2], | |
[127918, "RMT", "MX993767772", "04/12/2000", 1, "J108", 2]]; | |
$result=[]; | |
foreach($data as $k=>$v) { | |
// find value | |
$found=false; | |
foreach($result as $k2=>$v2) { |
View login.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// requiere composer https://getcomposer.org/ | |
// requiere instalar la libreria pdoone dentro de composer https://github.com/EFTEC/PdoOne | |
use eftec\PdoOne; | |
include __DIR__.'/vendor/autoload.php' | |
try { | |
$conn=new PdoOne('mysql','localhost','login_tutor','root',''); |
View table3.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format | algo | length | time | |
---|---|---|---|---|
HEX | adler32 | 8 | 4.6730041503906 | |
RAW | adler32 | 4 | 4.7018527984619 | |
RAW | fnv164 | 8 | 6.2000751495361 | |
HEX | fnv1a32 | 8 | 6.2048435211182 | |
HEX | fnv132 | 8 | 6.2098503112793 | |
RAW | fnv132 | 4 | 6.2119960784912 | |
HEX | fnv164 | 16 | 6.2189102172852 | |
HEX | fnv1a64 | 16 | 6.2229633331299 | |
RAW | fnv1a32 | 4 | 6.227970123291 |
View table2.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reference | No Reference | Speed of Reference % | |
---|---|---|---|
0.06107497215271 | 0.10248017311096 | 40.403133309913 |
View table.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | time | |
---|---|---|
json_encode array | 23.508071899414 | |
serialize array | 20.003318786621 (better) | |
json_decode array | 120.9020614624 | |
unserialize array | 39.196014404297 | |
json_encode object stdclass | 24.199485778809 | |
serialize object stdclass | 32.901763916016 | |
json_decode object stdclass | 127.10094451904 | |
unserialize object stdclass | 102.61535644531 | |
json_encode object | 24.39022064209 |
View blade_compile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php $__currentLoopData = $categories; $this->addLoop($__currentLoopData);$this->getFirstLoop(); | |
foreach($__currentLoopData as $category): $loop = $this->incrementLoopIndices(); ?> | |
<li><?php echo \htmlentities($category, ENT_QUOTES, 'UTF-8', false); ?></li> | |
<?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?> | |
</ul> |
View twig_compile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Twig\Environment; | |
use Twig\Error\LoaderError; | |
use Twig\Error\RuntimeError; | |
use Twig\Extension\SandboxExtension; | |
use Twig\Markup; | |
use Twig\Sandbox\SecurityError; | |
use Twig\Sandbox\SecurityNotAllowedTagError; | |
use Twig\Sandbox\SecurityNotAllowedFilterError; | |
use Twig\Sandbox\SecurityNotAllowedFunctionError; |
View table.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First Time Time | First Time Memory | Overhead First Time | Second Time | Second Time Memory | ||
---|---|---|---|---|---|---|
BladeOne | 1962ms | 2024kb | 263 | 1917ms | 2024kb | |
Twig | 3734ms | 2564kb | 123 | 3604ms | 2327kb |
NewerOlder