JNPF.NET 3.2 基于NET 5技术框架封装的快速开发平台。包含多个开箱即用功能, 具备RBAC功能、自动生成前后端代码、多种存储系统、多租户等等多个功能和模块,支持多业务系统并行开发, 支持多服务并行开发,平台设计灵活可扩展、可移植,可应用高并发需求,同时兼顾本地化、私有云、公有云部署,支持SaaS模式应用。核心技术采用Net 5.0为主要框架配有多个中间件看图1,前端基于vue-element-admin框架定制开发。为企业服务化中台整合、数字化中台转型提供强力支撑。
jnpf-java-cloud应用微服务、容器、DevOps等云原生技术,封装了大量技术开发包、技术应用组件、技术场景实现能力,并支持SaaS模式应用,提供了一个可支持企业各业务系统或产品快速开发实现的微服务应用数字化融合平台,富含各类开箱即用的组件、微服务业务系统,助力企业跨越Cloud(IaaS/PaaS)与自身数字化的鸿沟,共享业务服务的组合重用,为企业服务化中台整合、数字化转型提供强力支撑,也为企业提供了最佳架构实践,以产品的思维来打造的为企业提供能力复用的企业数字化中台。
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Net.WebSockets;
using System.Numerics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.IO.Compression;
#if NETCOREAPP3_0_OR_GREATER
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
#endif
[DisassemblyDiagnoser(maxDepth: 1)] // change to 0 for just the [Benchmark] method
[MemoryDiagnoser(displayGenColumns: false)]
public class Program
{
public static void Main(string[] args) =>
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, DefaultConfig.Instance
//.WithSummaryStyle(new SummaryStyle(CultureInfo.InvariantCulture, printUnitsInHeader: false, SizeUnit.B, TimeUnit.Microsecond))
);
// BENCHMARKS GO HERE
}
private int[] _values = Enumerable.Range(0, 100_000).ToArray(); [Benchmark] public int Find() => Find(_values, 99_999); private static int Find(T[] array, T item) { for (int i = 0; i < array.Length; i++) if (EqualityComparer .Default.Equals(array[i], item)) return i; return -1; }



