Angular | React | |
---|---|---|
1. App bundle size | 77.14 KB | 54.8 KB |
2. Heap size | 8.6 MB | 8.7 MB |
3. DOM nodes | 15,013 | 15,013 |
4. DCL- DOM Content Loaded | 650 ms | 140 ms |
5. FCP- First Contentful Paint | 779 ms | 606 ms |
6. LCP- Largest Contentful Paint | 811 ms | 641 ms |
7. Time to Interactive | 950 ms | 730 ms |
8. Scripting time | 301 ms | 372 ms |
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 Illuminate\Database\Seeder; | |
use Illuminate\Database\Eloquent\Model; | |
class DatabaseSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* |
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
var restler = require('restler'); | |
var fs = require('fs'); | |
var colors = require('colors'); | |
var util = require('util'); | |
var config = require('./config.js'); | |
var baseUrl = config.baseUrl; | |
describe("My project phone api's tests", function () { | |
var apiCall; |
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
#!/bin/bash | |
git add --all | |
git commit -m "committing all changes" | |
git push origin master | |
ssh -t -t [email protected] << EOF | |
pwd | |
cd /var/www/html/my-app/ |
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
var restler = require('restler'); | |
var fs = require('fs'); | |
var colors = require('colors'); | |
var util = require('util'); | |
var config = require('../config.js'); | |
var baseUrl = config.baseUrl; | |
describe('lorum ipsum' , function() { |
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
#!/bin/sh | |
output_file=output.txt | |
# remove the file if it exists | |
if [ -f $output_file ] # spaces in square brackets required for proper syntax | |
then | |
rm -f $output_file | |
fi | |
for i in *.svg; do |
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
// Automate front end processes | |
// TODO | |
// 1) use npm plugin angular template cache to generate cache of either the html or the jsp files | |
var less = require('gulp-less'); | |
var path = require('path'); | |
var gulp = require('gulp'); | |
var minifyCSS = require('gulp-minify-css'); | |
var watch = require('gulp-watch'); | |
var babel = require('gulp-babel'); |
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
public class PrioQueue<T> | |
{ | |
int total_size; | |
SortedDictionary<int, Queue<T>> storage; | |
public PrioQueue() | |
{ | |
this.storage = new SortedDictionary<int, Queue<T>>(); | |
this.total_size = 0; |
Angular | React | |
---|---|---|
1. App bundle size | 77.14KB | 54.8KB |
2. Heap size | 8.6MB | 8.7MB |
3. DOM nodes | 15,013 | 15,013 |
4. DCL- DOM Content Loaded | 0.65s | 0.14s |
5. FCP- First Contentful Paint | 0.87s | 0.73s |
6. LCP- Largest Contentful Paint | 0.93s | 0.78s |
7. Time to Interactive | ||
8. Scripting time | 301ms | 372ms |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.