Fastify did 6K RPS (Request per Second)
Netty did 23K RPS (Request Per Second)
Actix did 53K RPS (Request Per Second)
Actix 1ms latency
Netty 4ms latency
Fastify 14ms latency
npm install -g autocannon
@font-face { | |
font-family: 'JetBrains Mono'; | |
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'), | |
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff'); | |
font-weight: 700; | |
font-style: italic; | |
font-display: swap; | |
} | |
@font-face { |
(String filename, String url) async { | |
var request = http.MultipartRequest('POST', Uri.parse(url)); | |
request.files.add( | |
http.MultipartFile( | |
'picture', | |
File(filename).readAsBytes().asStream(), | |
File(filename).lengthSync(), | |
filename: filename.split("/").last | |
) | |
); |
[ | |
"aol.com", | |
"att.net", | |
"comcast.net", | |
"facebook.com", | |
"gmail.com", | |
"gmx.com", | |
"googlemail.com", | |
"google.com", | |
"hotmail.com", |
Fastify did 6K RPS (Request per Second)
Netty did 23K RPS (Request Per Second)
Actix did 53K RPS (Request Per Second)
Actix 1ms latency
Netty 4ms latency
Fastify 14ms latency
npm install -g autocannon
The Material Components Library introduced with the 1.2.0-alpha03
the new ShapeableImageView
.
In your layout you can use:
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/image_view"
app:srcCompat="@drawable/..." />
Then in your code apply the ShapeAppearanceModel
to define your custom corners:
/* | |
MIT License | |
Copyright (c) 2020 Egor Nepomnyaschih | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:bloc/bloc.dart'; | |
import 'package:flutter_bloc/flutter_bloc.dart'; | |
import 'package:equatable/equatable.dart'; | |
abstract class StepperEvent extends Equatable { | |
StepperEvent([List props = const []]) : super(props); | |
} |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
//access the wavy header in body by below code | |
return Scaffold( | |
body: Container(height:200.0,child: new WavyHeader()), | |
); | |
//creates a curve with 3 curves merged by using stack | |
// ref link | |
https://iirokrankka.com/2017/09/04/clipping-widgets-with-bezier-curves-in-flutter/ |